Skip to content

Commit 25db712

Browse files
committed
Merging with preview
2 parents 647d314 + 0194907 commit 25db712

File tree

2,203 files changed

+57311
-1243022
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,203 files changed

+57311
-1243022
lines changed
File renamed without changes.

build.proj

Lines changed: 31 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,11 @@
8787

8888

8989
<ItemGroup>
90-
<LocalBuildTasks Include="$(LibraryToolsFolder)\RepoTasks\RepoTasks.sln" Condition="'$(NetCore)' == 'false'"/>
91-
<StackSolution Include="$(LibrarySourceFolder)\Stack.sln" Condition="'$(Scope)' == 'Stack'"/>
92-
<CommonSolution Include="$(LibrarySourceFolder)\Common\Common.sln" Condition="'$(Scope)' == 'Stack'" />
90+
<LocalBuildTasks Include="$(LibraryToolsFolder)\RepoTasks\RepoTasks.sln" Condition="'$(NetCore)' == 'false'" />
91+
<StackSolution Include="$(LibrarySourceFolder)\StackAdmin\Stack.sln" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
9392
<StaticAnalysis Include=".\tools\StaticAnalysis\StaticAnalysis.sln" />
9493
<LocalBuildTasks Include="$(LibraryToolsFolder)\BuildPackagesTask\Microsoft.Azure.Build.Tasks.sln" />
95-
<LocalBuildTasks Include="$(LibraryToolsFolder)\RepoTasks\RepoTasks.sln" Condition="'$(NetCore)' == 'false'"/>
94+
<LocalBuildTasks Include="$(LibraryToolsFolder)\RepoTasks\RepoTasks.sln" Condition="'$(NetCore)' == 'false'" />
9695
</ItemGroup>
9796

9897
<!-- Tasks -->
@@ -200,10 +199,8 @@
200199
<Exec Command="$(NuGetCommand) sources add -Name nugetRemote -Source &quot;https://api.nuget.org/v3/index.json&quot; $(NuGetRestoreConfigSwitch)"/>
201200
<!-- Restore packages -->
202201
<Exec Command="$(NuGetCommand) restore %(StackSolution.FullPath) $(NuGetRestoreConfigSwitch) $(NuGetRestorePackageSetting)"
203-
Condition="'$(Scope)' == 'Stack'"
202+
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'"
204203
ContinueOnError="false" />
205-
<Exec Command="$(NuGetCommand) restore %(CommonSolution.FullPath) $(NuGetRestoreConfigSwitch) $(NuGetRestorePackageSetting)"
206-
ContinueOnError="false" Condition="'$(Scope)' == 'Stack'" />
207204
<!-- Restore packages for static analysis-->
208205
<Exec Command="$(NuGetCommand) restore %(StaticAnalysis.FullPath) $(NuGetRestoreConfigSwitch) $(NuGetRestorePackageSetting)"
209206
ContinueOnError="false" />
@@ -280,14 +277,7 @@
280277
<MakeDir Directories="$(PackageDirectory)"
281278
Condition="'$(Scope)' != 'Stack'" />
282279
<MakeDir Directories="$(StackPackageFolder)"
283-
Condition="'$(Scope)' == 'Stack'" />
284-
285-
<MSBuild Projects="@(CommonSolution)"
286-
Targets="Build"
287-
Properties="Configuration=$(Configuration);Platform=Any CPU"
288-
BuildInParallel="$(BuildInParallel)"
289-
Condition="'$(Scope)' == 'Stack'"
290-
ContinueOnError="false" />
280+
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
291281

292282
<MSBuild Projects="@(CmdletSolutionsToBuild)"
293283
Targets="Build"
@@ -299,7 +289,7 @@
299289
Targets="Build"
300290
Properties="Configuration=$(Configuration);Platform=Any CPU"
301291
BuildInParallel="$(BuildInParallel)"
302-
Condition="'$(Scope)' == 'Stack'"
292+
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'"
303293
ContinueOnError="false" />
304294

305295
<Exec Command="$(PowerShellCommandPrefix) &quot;$ProgressPreference = 'SilentlyContinue';. $(LibraryToolsFolder)\GenerateHelp.ps1 -ValidateMarkdownHelp -GenerateMamlHelp -BuildConfig $(Configuration) -FilteredModules '@(ModulesChanged)' &quot;"
@@ -311,61 +301,61 @@
311301

312302
<Exec ContinueOnError="false"
313303
Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot; . $(LibraryToolsFolder)\NewHelpIndex.ps1 -OutputFile $(PackageDirectory)\index.json -BuildConfig $(Configuration) &quot;"
314-
Condition=" ('$(Scope)' == 'All' or '$(Scope)' == 'Latest') and $(CodeSign) == 'true'"/>
304+
Condition="('$(Scope)' == 'All' or '$(Scope)' == 'Latest') and $(CodeSign) == 'true'" />
315305

316306
<!-- Copying modules to be signed -->
317307

318308
<!-- AzureRM -->
319309
<Copy SourceFiles="$(LibraryToolsFolder)\AzureRM\AzureRM.psd1"
320310
DestinationFolder="$(PackageDirectory)\$(Configuration)"
321311
ContinueOnError="false"
322-
Condition= " '$(Scope)' == 'All' or '$(Scope)' == 'Latest' "/>
312+
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest'" />
323313
<Copy SourceFiles="$(LibraryToolsFolder)\AzureRM\AzureRM.psm1"
324314
DestinationFolder="$(PackageDirectory)\$(Configuration)"
325315
ContinueOnError="false"
326-
Condition= " '$(Scope)' == 'All' or '$(Scope)' == 'Latest' "/>
316+
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest'" />
327317

328318
<!-- Stack Specific -->
329319
<Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureRM\AzureRM.psd1"
330320
DestinationFolder="$(StackPackageFolder)\$(Configuration)"
331321
ContinueOnError="false"
332-
Condition= " '$(Scope)' == 'Stack' "/>
322+
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
333323
<Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureRM\AzureRM.psm1"
334324
DestinationFolder="$(StackPackageFolder)\$(Configuration)"
335325
ContinueOnError="false"
336-
Condition= " '$(Scope)' == 'Stack' "/>
326+
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
337327

338328
<Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureStack\AzureStack.psd1"
339329
DestinationFolder="$(StackPackageFolder)\$(Configuration)"
340330
ContinueOnError="false"
341-
Condition= " '$(Scope)' == 'Stack' "/>
331+
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
342332
<Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureStack\AzureStack.psm1"
343333
DestinationFolder="$(StackPackageFolder)\$(Configuration)"
344334
ContinueOnError="false"
345-
Condition= " '$(Scope)' == 'Stack' "/>
335+
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
346336

347337
<CallTarget Targets="CodeSignBinaries" Condition=" '$(CodeSign)' == 'true' " />
348338

349339
<Exec ContinueOnError="false"
350340
Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot; . $(LibraryToolsFolder)\NewOutputTypeIndex.ps1 -OutputFile $(PackageDirectory)\outputtypes.json -BuildConfig $(Configuration) &quot;"
351-
Condition=" ('$(Scope)' == 'All' or '$(Scope)' == 'Latest') and $(CodeSign) == 'true'"/>
341+
Condition="('$(Scope)' == 'All' or '$(Scope)' == 'Latest') and $(CodeSign) == 'true'" />
352342

353343
<!-- AzureRM -->
354344
<Copy SourceFiles="$(PackageDirectory)\$(Configuration)\AzureRM.psd1"
355-
DestinationFolder="$(LibraryToolsFolder)\AzureRM" Condition= " '$(Scope)' == 'All' or '$(Scope)' == 'Latest' "/>
345+
DestinationFolder="$(LibraryToolsFolder)\AzureRM" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest'" />
356346
<Copy SourceFiles="$(PackageDirectory)\$(Configuration)\AzureRM.psm1"
357-
DestinationFolder="$(LibraryToolsFolder)\AzureRM" Condition= " '$(Scope)' == 'All' or '$(Scope)' == 'Latest' "/>
347+
DestinationFolder="$(LibraryToolsFolder)\AzureRM" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest'" />
358348

359349
<!-- Stack -->
360350
<Copy SourceFiles="$(StackPackageFolder)\$(Configuration)\AzureRM.psd1"
361-
DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureRM" Condition= " '$(Scope)' == 'Stack' "/>
351+
DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureRM" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
362352
<Copy SourceFiles="$(StackPackageFolder)\$(Configuration)\AzureRM.psm1"
363-
DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureRM" Condition= " '$(Scope)' == 'Stack' "/>
353+
DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureRM" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
364354

365355
<Copy SourceFiles="$(StackPackageFolder)\$(Configuration)\AzureStack.psd1"
366-
DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureStack" Condition= " '$(Scope)' == 'Stack' "/>
356+
DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureStack" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
367357
<Copy SourceFiles="$(StackPackageFolder)\$(Configuration)\AzureStack.psm1"
368-
DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureStack" Condition= " '$(Scope)' == 'Stack' "/>
358+
DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureStack" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
369359

370360
<Message Importance="high" Text="Running Static Analyser" />
371361
<CallTarget targets="DependencyAnalysis" ContinueOnError="ErrorAndContinue" />
@@ -474,11 +464,11 @@
474464
</ItemGroup>
475465

476466
<!-- Stack -->
477-
<ItemGroup Condition="'$(Scope)' == 'Stack'">
478-
<DelaySignedAssembliesToSign Include="$(StackPackageFolder)\$(Configuration)\**\Microsoft*Azure*Commands*.dll" />
467+
<ItemGroup Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'">
468+
<DelaySignedAssembliesToSign Include="$(StackPackageFolder)\$(Configuration)\**\Microsoft*Azure*Commands*.dll" Exclude="$(StackPackageFolder)\$(Configuration)\**\Microsoft*Azure*Commands*Common*.dll" />
479469
<DelaySignedAssembliesToSign Include="$(StackPackageFolder)\$(Configuration)\**\Microsoft.Azure.Common.Extensions.dll" />
480470
<DelaySignedAssembliesToSign Include="$(StackPackageFolder)\$(Configuration)\**\Microsoft.Azure.Management.Sql.Legacy.dll" />
481-
</ItemGroup>
471+
</ItemGroup>
482472

483473
<Message Importance="high" Text="$(PackageDirectory)\$(Configuration) does not contains any files to sign. Code sign will skip."
484474
Condition="'@(DelaySignedAssembliesToSign)' == ''" />
@@ -515,11 +505,11 @@
515505

516506
<!-- Copying shortcut to be signed -->
517507
<Copy SourceFiles="$(LibraryRoot)tools\AzureRM\AzureRM.psm1"
518-
DestinationFolder="$(PackageDirectory)\$(Configuration)" Condition= "'$(Scope)' == 'All' or '$(Scope)' == 'Latest'"/>
508+
DestinationFolder="$(PackageDirectory)\$(Configuration)" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest'" />
519509
<Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureRM\AzureRM.psm1"
520-
DestinationFolder="$(StackPackageFolder)\$(Configuration)" Condition="'$(Scope)' == 'Stack'"/>
510+
DestinationFolder="$(StackPackageFolder)\$(Configuration)" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
521511
<Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureStack\AzureStack.psm1"
522-
DestinationFolder="$(StackPackageFolder)\$(Configuration)" Condition="'$(Scope)' == 'Stack'"/>
512+
DestinationFolder="$(StackPackageFolder)\$(Configuration)" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'" />
523513

524514

525515
<!-- Azure -->
@@ -531,7 +521,7 @@
531521
</ItemGroup>
532522

533523
<!-- Stack -->
534-
<ItemGroup Condition="'$(Scope)' == 'Stack'">
524+
<ItemGroup Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'">
535525
<ScriptsToSign Include="$(StackPackageFolder)\$(Configuration)\**\*.ps1"/>
536526
<ScriptsToSign Include="$(StackPackageFolder)\$(Configuration)\**\*.psm1"/>
537527
<ScriptsToSign Include="$(StackPackageFolder)\$(Configuration)\**\*.ps1xml"/>
@@ -554,7 +544,7 @@
554544
ContinueOnError="ErrorAndContinue" />
555545

556546
<Exec Command="$(PowerShellCommandPrefix) &quot;. $(LibraryToolsFolder)\CheckSignature.ps1 -CustomPath $(StackPackageFolder)\$(Configuration) &quot;"
557-
Condition="'$(Scope)' == 'Stack'"
547+
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'"
558548
ContinueOnError="ErrorAndContinue" />
559549

560550
<!-- Copying signed shortcut back -->
@@ -624,7 +614,7 @@
624614
Condition="'$(Scope)' != 'Stack'"/>
625615

626616
<Exec Command="$(PackageDirectory)\StaticAnalysis.exe -p $(StackPackageFolder)\$(Configuration) -r $(StackPackageFolder)"
627-
Condition="'$(Scope)' == 'Stack'"
617+
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'"
628618
ContinueOnError="True"/>
629619

630620
<OnError ExecuteTargets="StaticAnalysisErrorMessage"/>
@@ -653,11 +643,11 @@
653643
<Error Condition=" '$(NuGetKey)' == '' " Text="You must provide the NuGetKey parameter to the build: /p:NuGetKey=YOUR_PUBLISHING_KEY" />
654644

655645
<Exec Command="$(PowerShellCommandPrefix) &quot;. $(LibraryToolsFolder)\PublishModules.ps1 -IsNetCore:$$(NetCore) -BuildConfig $(Configuration) -Scope $(Scope) -ApiKey $(NuGetKey) -RepositoryLocation \&quot;$(NuGetPublishingSource)\&quot; &quot; -NugetExe $(NuGetCommand)"
656-
Condition="'$(Scope)' !='Stack'"
646+
Condition="'$(Scope)' != 'Stack'"
657647
ContinueOnError="false"/>
658648

659649
<Exec Command="$(PowerShellCommandPrefix) &quot;. $(LibraryToolsFolder)\PublishModules.ps1 -IsNetCore:$$(NetCore) -BuildConfig $(Configuration) -Scope Stack -ApiKey $(NuGetKey) -RepositoryLocation \&quot;$(NuGetPublishingSource)\&quot; &quot; -NugetExe $(NuGetCommand)"
660-
Condition="'$(Scope)' == 'Stack'"
650+
Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Stack'"
661651
ContinueOnError="false"/>
662652

663653
<CallTarget Targets="BuildInstaller" Condition="'$(Scope)' =='All'" />

documentation/development-docs/help-generation.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ All MAML files containing the help content for cmdlets have been removed from th
66

77
## Installing `platyPS`
88

9-
In order to use the cmdlets necessary to update the markdown help files (or generate MAML help locally from these markdown files), you must first install the `platyPS` module mentioned previously.
9+
In order to use the cmdlets necessary to update the markdown help files (or generate MAML help locally from these markdown files), you must first install the `platyPS` module mentioned previously. You will need to install a minimum version of 0.11.0.
1010

1111
To do so, you can can follow the below steps (which are outlined in the [**Quick start**](https://github.com/PowerShell/platyPS#quick-start) section of the `platyPS` README):
1212

@@ -62,13 +62,10 @@ $PathToModuleManifest = "../../<module.psd1" # Full path to the module manifest
6262
Import-Module -Name $PathToModuleManifest
6363
6464
$PathToHelpFolder = "../../help" # Full path to help folder containing markdown files to be updated
65-
Update-MarkdownHelpModule -Path $PathToHelpFolder -RefreshModulePage -AlphabeticParamsOrder
65+
Update-MarkdownHelpModule -Path $PathToHelpFolder -RefreshModulePage -AlphabeticParamsOrder -UseFullTypeName
6666
```
6767

68-
Because the -UseFullTypeName parameter is not yet available in Update-MarkdownHelpModule (it will be enabled in the upcoming release of PlatyPS), you will need to run this command to modify the help files to use full type names:
69-
```
70-
Get-ChildItem -Path $PathToHelpFolder | Update-MarkdownHelp -AlphabeticParamsOrder -UseFullTypeName
71-
```
68+
If you would like to update the inputs/outputs for a markdown file, please run this cmdlet with the -UpdateInputOutput parameter. Keep in mind that this will overwrite any customized descriptions of inputs and outputs, so you will need to add these descriptions back if still relevant.
7269

7370
This will update all of the markdown files with public interface changes made to corresponding cmdlets, add markdown files for any new cmdlets, remove markdown files for any deleted cmdlets, and update the module page (_e.g.,_ `AzureRM.Profile.md`) with any added or removed cmdlets.
7471

@@ -86,6 +83,8 @@ $PathToMarkdownFile = "../../<cmdlet>.md" # Full path to the markdown file to be
8683
Update-MarkdownHelp -Path $PathToMarkdownFile -AlphabeticParamsOrder -UseFullTypeName
8784
```
8885

86+
If you would like to update the inputs/outputs for a markdown file, please run this cmdlet with the -UpdateInputOutput parameter. Keep in mind that this will overwrite any customized descriptions of inputs and outputs, so you will need to add these descriptions back if still relevant.
87+
8988
#### Generating and viewing the MAML help
9089

9190
During the build, the MAML help will be generated from the markdown files in the repository. If you would like to generate the MAML help and preview what the help content will look like for each of your cmdlets, you can do so with two more commands.
File renamed without changes.

src/ResourceManager/Aks/Commands.Aks/Az.Aks.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
ModuleVersion = '0.1.0'
1616

1717
# Supported PSEditions
18-
CompatiblePSEditions = 'Core', 'Desktop'
18+
CompatiblePSEditions = 'Core'
1919

2020
# ID used to uniquely identify this module
2121
GUID = 'a97e0c3e-e389-46a6-b73d-2b9bd6909bdb'
@@ -110,7 +110,7 @@ PrivateData = @{
110110
# IconUri = ''
111111

112112
# ReleaseNotes of this module
113-
ReleaseNotes = 'Updated for common code changes'
113+
ReleaseNotes = 'Initial Release'
114114

115115
# Prerelease string of this module
116116
# Prerelease = ''

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Az.AnalysisServices.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
ModuleVersion = '0.1.0'
1616

1717
# Supported PSEditions
18-
CompatiblePSEditions = 'Core', 'Desktop'
18+
CompatiblePSEditions = 'Core'
1919

2020
# ID used to uniquely identify this module
2121
GUID = 'd4877565-4778-42de-b494-79491ab9c31c'
@@ -90,8 +90,8 @@ CmdletsToExport = 'Resume-AzAnalysisServicesServer',
9090
# VariablesToExport = @()
9191

9292
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
93-
AliasesToExport = 'Resume-AzureAs', 'Suspend-AzureAs', 'Get-AzureAs', 'Remove-AzureAs',
94-
'Set-AzureAs', 'Test-AzureAs', 'New-AzureAs'
93+
AliasesToExport = 'Resume-AzAs', 'Suspend-AzAs', 'Get-AzAs', 'Remove-AzAs',
94+
'Set-AzAs', 'Test-AzAs', 'New-AzAs'
9595

9696
# DSC resources to export from this module
9797
# DscResourcesToExport = @()

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/GetAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
namespace Microsoft.Azure.Commands.AnalysisServices
2323
{
2424
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AnalysisServicesServer"),OutputType(typeof(AzureAnalysisServicesServer))]
25-
[Alias("Get-AzureAs")]
25+
[Alias("Get-" + ResourceManager.Common.AzureRMConstants.AzurePrefix + "As")]
2626
public class GetAzureAnalysisServicesServer : AnalysisServicesCmdletBase
2727
{
2828
[Parameter(Position = 0,

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/NewAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
namespace Microsoft.Azure.Commands.AnalysisServices
2727
{
2828
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AnalysisServicesServer", SupportsShouldProcess = true), OutputType(typeof(AzureAnalysisServicesServer))]
29-
[Alias("New-AzureAs")]
29+
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzurePrefix + "As")]
3030
public class NewAnalysisServicesServer : AnalysisServicesCmdletBase
3131
{
3232
[Parameter(ValueFromPipelineByPropertyName = true, Position = 0, Mandatory = true,

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/RemoveAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
namespace Microsoft.Azure.Commands.AnalysisServices
2525
{
2626
[Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AnalysisServicesServer", SupportsShouldProcess = true), OutputType(typeof(AzureAnalysisServicesServer))]
27-
[Alias("Remove-AzureAs")]
27+
[Alias("Remove-" + ResourceManager.Common.AzureRMConstants.AzurePrefix + "As")]
2828
public class RemoveAnalysisServicesServer : AnalysisServicesCmdletBase
2929
{
3030
[Parameter(ValueFromPipelineByPropertyName = true, Position = 0, Mandatory = true,

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/ResumeAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
namespace Microsoft.Azure.Commands.AnalysisServices
2525
{
2626
[Cmdlet("Resume", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AnalysisServicesServer", SupportsShouldProcess = true),OutputType(typeof(AzureAnalysisServicesServer))]
27-
[Alias("Resume-AzureAs")]
27+
[Alias("Resume-" + ResourceManager.Common.AzureRMConstants.AzurePrefix+ "As")]
2828
public class ResumeAzureAnalysisServicesServer : AnalysisServicesCmdletBase
2929
{
3030
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true,

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/SetAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
namespace Microsoft.Azure.Commands.AnalysisServices
2727
{
2828
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AnalysisServicesServer", SupportsShouldProcess = true, DefaultParameterSetName = ParamSetDefault), OutputType(typeof(AzureAnalysisServicesServer))]
29-
[Alias("Set-AzureAs")]
29+
[Alias("Set-" + ResourceManager.Common.AzureRMConstants.AzurePrefix + "As")]
3030
public class SetAzureAnalysisServicesServer : AnalysisServicesCmdletBase
3131
{
3232
private const string ParamSetDefault = "Default";

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/SuspendAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
namespace Microsoft.Azure.Commands.AnalysisServices
2525
{
2626
[Cmdlet("Suspend", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AnalysisServicesServer",SupportsShouldProcess = true),OutputType(typeof(AzureAnalysisServicesServer))]
27-
[Alias("Suspend-AzureAs")]
27+
[Alias("Suspend-" + ResourceManager.Common.AzureRMConstants.AzurePrefix + "As")]
2828
public class SuspendAzureAnalysisServicesServer : AnalysisServicesCmdletBase
2929
{
3030
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true,

0 commit comments

Comments
 (0)