Skip to content

Commit 2cd220f

Browse files
author
Jianghao Lu
committed
Fix renaming of Test-AzureRM* commands
1 parent f137c11 commit 2cd220f

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,11 +362,11 @@ function Test-EvaluateAutoScale
362362

363363
if ($usePipeline -eq '1')
364364
{
365-
$evalResult = Get-AzureRMBatchPool_ST -Id $poolId -BatchContext $context | Test-AzureBatchAutoScale_ST -AutoScaleFormula $formula -BatchContext $context
365+
$evalResult = Get-AzureRMBatchPool_ST -Id $poolId -BatchContext $context | Test-AzureRMBatchAutoScale_ST -AutoScaleFormula $formula -BatchContext $context
366366
}
367367
else
368368
{
369-
$evalResult = Test-AzureBatchAutoScale_ST $poolId $formula -BatchContext $context
369+
$evalResult = Test-AzureRMBatchAutoScale_ST $poolId $formula -BatchContext $context
370370
}
371371

372372
# Verify that the evaluation result matches expectation

src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/TestDnsAvailabilityTest.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<#
1616
.SYNOPSIS
17-
Tests Test-AzureDnsAvailability command
17+
Tests Test-AzureRMDnsAvailability command
1818
#>
1919
function Test-DnsAvailability
2020
{
@@ -24,6 +24,6 @@ function Test-DnsAvailability
2424
$location = Get-ProviderLocation $resourceTypeParent
2525

2626
# Checkdnsavailability
27-
$checkdnsavailability = Test-AzureDnsAvailability -Location "westus" -DomainQualifiedName $domainQualifiedName
27+
$checkdnsavailability = Test-AzureRMDnsAvailability -Location "westus" -DomainQualifiedName $domainQualifiedName
2828
Assert-AreEqual $checkdnsavailability true
2929
}

src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27740,7 +27740,7 @@ Subnets : []
2774027740
</command:command>
2774127741
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
2774227742
<command:details>
27743-
<command:name>Test-AzureDnsAvailability</command:name>
27743+
<command:name>Test-AzureRMDnsAvailability</command:name>
2774427744
<maml:description>
2774527745
<maml:para>
2774627746
</maml:para>
@@ -27756,7 +27756,7 @@ Subnets : []
2775627756
</maml:description>
2775727757
<command:syntax>
2775827758
<command:syntaxItem>
27759-
<maml:name>Test-AzureDnsAvailability</maml:name>
27759+
<maml:name>Test-AzureRMDnsAvailability</maml:name>
2776027760
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none">
2776127761
<maml:name>Profile</maml:name>
2776227762
<maml:description>

src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function Test-TestStreamingAnalyticsE2E
4646
Assert-AreEqual $inputName $actual.Name
4747

4848
# Test Input
49-
$actual = Test-AzureStreamAnalyticsInput -JobName $jobName -Name Input -ResourceGroupName $resourceGroup
49+
$actual = Test-AzureRMStreamAnalyticsInput -JobName $jobName -Name Input -ResourceGroupName $resourceGroup
5050
$expected = "True"
5151
Assert-AreEqual $expected $actual
5252

@@ -55,7 +55,7 @@ function Test-TestStreamingAnalyticsE2E
5555
Assert-AreEqual $outputName $actual.Name
5656

5757
# Test Output
58-
$actual = Test-AzureStreamAnalyticsOutput -JobName $jobName -Name $outputName -ResourceGroupName $resourceGroup
58+
$actual = Test-AzureRMStreamAnalyticsOutput -JobName $jobName -Name $outputName -ResourceGroupName $resourceGroup
5959
$expected = "True"
6060
Assert-AreEqual $expected $actual
6161

src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
<maml:uri></maml:uri>
199199
</maml:navigationLink>
200200
<maml:navigationLink>
201-
<maml:linkText>Test-AzureStreamAnalyticsInput</maml:linkText>
201+
<maml:linkText>Test-AzureRMStreamAnalyticsInput</maml:linkText>
202202
<maml:uri></maml:uri>
203203
</maml:navigationLink>
204204
</maml:relatedLinks>
@@ -647,7 +647,7 @@
647647
<maml:uri></maml:uri>
648648
</maml:navigationLink>
649649
<maml:navigationLink>
650-
<maml:linkText>Test-AzureStreamAnalyticsOutput</maml:linkText>
650+
<maml:linkText>Test-AzureRMStreamAnalyticsOutput</maml:linkText>
651651
<maml:uri></maml:uri>
652652
</maml:navigationLink>
653653
</maml:relatedLinks>
@@ -1231,7 +1231,7 @@
12311231
<maml:uri></maml:uri>
12321232
</maml:navigationLink>
12331233
<maml:navigationLink>
1234-
<maml:linkText>Test-AzureStreamAnalyticsInput</maml:linkText>
1234+
<maml:linkText>Test-AzureRMStreamAnalyticsInput</maml:linkText>
12351235
<maml:uri></maml:uri>
12361236
</maml:navigationLink>
12371237
</maml:relatedLinks>
@@ -1715,7 +1715,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para
17151715
<maml:uri></maml:uri>
17161716
</maml:navigationLink>
17171717
<maml:navigationLink>
1718-
<maml:linkText>Test-AzureStreamAnalyticsOutput</maml:linkText>
1718+
<maml:linkText>Test-AzureRMStreamAnalyticsOutput</maml:linkText>
17191719
<maml:uri></maml:uri>
17201720
</maml:navigationLink>
17211721
</maml:relatedLinks>
@@ -2162,7 +2162,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para
21622162
<maml:uri></maml:uri>
21632163
</maml:navigationLink>
21642164
<maml:navigationLink>
2165-
<maml:linkText>Test-AzureStreamAnalyticsInput</maml:linkText>
2165+
<maml:linkText>Test-AzureRMStreamAnalyticsInput</maml:linkText>
21662166
<maml:uri></maml:uri>
21672167
</maml:navigationLink>
21682168
</maml:relatedLinks>
@@ -2559,7 +2559,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para
25592559
<maml:uri></maml:uri>
25602560
</maml:navigationLink>
25612561
<maml:navigationLink>
2562-
<maml:linkText>Test-AzureStreamAnalyticsOutput</maml:linkText>
2562+
<maml:linkText>Test-AzureRMStreamAnalyticsOutput</maml:linkText>
25632563
<maml:uri></maml:uri>
25642564
</maml:navigationLink>
25652565
</maml:relatedLinks>
@@ -2941,7 +2941,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para
29412941
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
29422942
<!--Generated by PS Cmdlet Help Editor-->
29432943
<command:details>
2944-
<command:name>Test-AzureStreamAnalyticsInput</command:name>
2944+
<command:name>Test-AzureRMStreamAnalyticsInput</command:name>
29452945
<maml:description>
29462946
<maml:para>Tests the ability of Stream Analytics to connect to a specified input.</maml:para>
29472947
</maml:description>
@@ -2953,11 +2953,11 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para
29532953
<dev:version />
29542954
</command:details>
29552955
<maml:description>
2956-
<maml:para>The Test-AzureStreamAnalyticsInput cmdlet tests the ability of Stream Analytics to connect to a specified input.</maml:para>
2956+
<maml:para>The Test-AzureRMStreamAnalyticsInput cmdlet tests the ability of Stream Analytics to connect to a specified input.</maml:para>
29572957
</maml:description>
29582958
<command:syntax>
29592959
<command:syntaxItem>
2960-
<maml:name>Test-AzureStreamAnalyticsInput</maml:name>
2960+
<maml:name>Test-AzureRMStreamAnalyticsInput</maml:name>
29612961
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
29622962
<maml:name>JobName</maml:name>
29632963
<maml:description>
@@ -3090,7 +3090,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para
30903090
<maml:introduction>
30913091
<maml:paragraph>PS C:\&gt;</maml:paragraph>
30923092
</maml:introduction>
3093-
<dev:code>Test-AzureStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EntryStream</dev:code>
3093+
<dev:code>Test-AzureRMStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EntryStream</dev:code>
30943094
<dev:remarks>
30953095
<maml:para>This tests the connection status of the input EntryStream in StreamingJob.</maml:para>
30963096
<maml:para />
@@ -3124,7 +3124,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para
31243124
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
31253125
<!--Generated by PS Cmdlet Help Editor-->
31263126
<command:details>
3127-
<command:name>Test-AzureStreamAnalyticsOutput</command:name>
3127+
<command:name>Test-AzureRMStreamAnalyticsOutput</command:name>
31283128
<maml:description>
31293129
<maml:para>Tests the ability of Stream Analytics to connect to a specified output.</maml:para>
31303130
</maml:description>
@@ -3136,11 +3136,11 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para
31363136
<dev:version />
31373137
</command:details>
31383138
<maml:description>
3139-
<maml:para>The Test-AzureStreamAnalyticsOutput cmdlet tests the ability of Stream Analytics to connect to a specified output.</maml:para>
3139+
<maml:para>The Test-AzureRMStreamAnalyticsOutput cmdlet tests the ability of Stream Analytics to connect to a specified output.</maml:para>
31403140
</maml:description>
31413141
<command:syntax>
31423142
<command:syntaxItem>
3143-
<maml:name>Test-AzureStreamAnalyticsOutput</maml:name>
3143+
<maml:name>Test-AzureRMStreamAnalyticsOutput</maml:name>
31443144
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
31453145
<maml:name>JobName</maml:name>
31463146
<maml:description>
@@ -3273,7 +3273,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para
32733273
<maml:introduction>
32743274
<maml:paragraph>PS C:\&gt;</maml:paragraph>
32753275
</maml:introduction>
3276-
<dev:code>Test-AzureStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output</dev:code>
3276+
<dev:code>Test-AzureRMStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output</dev:code>
32773277
<dev:remarks>
32783278
<maml:para>This tests the connection status of the output Output in StreamingJob.</maml:para>
32793279
<maml:para />

0 commit comments

Comments
 (0)