Skip to content

Commit f33f468

Browse files
committed
Merge pull request #339 from Azure/clu
Clu
2 parents 09c2324 + e2db619 commit f33f468

File tree

335 files changed

+490
-235
lines changed

Some content is hidden

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

335 files changed

+490
-235
lines changed

clu-getstart.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Work on CLU cmdlets
1+
# Work on CLU cmdlets
22

33
## Prerequsites
44

@@ -25,7 +25,7 @@ CLUPackages require some additional files to direct generation of indexing, and
2525
| ------------- |:-------------:|
2626
| CommandAssemblies | File name of cmdlets assembly(ies) |
2727
| NounPrefix | ‘AzureRm’ The part of the cmdlet noun to remove in clu commands|
28-
| NounFirst | if true, the verb comes at the end of the command (e.g. az resource get)|
28+
| NounFirst | if true, the verb comes at the end of the command (e.g. az resource ls)|
2929

3030
* \<modulename\>.nuspec.template, which contains nuspec format metadata about the package – the base temaplate is in tools\clu\Microsoft.Azure.Commands.nuspec.template. Here are the special fields defined in this template:
3131
* %PackageId% - replace with the module name (Microsoft.Azure.Commands.\<rp-name\>)
@@ -63,16 +63,16 @@ To test on osx/linux boxes, do #1, open `<repo-root>\drop\clurun`, copy the flav
6363
(All of those are subject to change, contact yugangw or adxsdkdev for any questions)
6464

6565
## Quick introductions on cmdlets
66-
* Run commands using the ‘az’ prefix, cmdlet nouns, and cmdlet verbs, for example, `az env get` maps to the cmdlet `Get-AzureRmEnvironment`
67-
* Cmdlet parameters use the double dash (--) so for example, getting a subscription with a particular name would be: `az subscription get –-SubscriptionName “name of subscription"`
66+
* Run commands using the ‘az’ prefix, cmdlet nouns, and cmdlet verbs, for example, `az env ls` maps to the cmdlet `Get-AzureRmEnvironment`
67+
* Cmdlet parameters use the double dash (--) so for example, getting a subscription with a particular name would be: `az subscription ls –-SubscriptionName “name of subscription"`
6868
* To log in, 3 options
69-
* login interactively using device flow, this is the only option for msa account or any org-id with 2fa enforced, example: `az account add`
70-
* login with user and password, this works on org-id w/o 2fa enforced, example: `az account add --Username [email protected] --Password password1`
71-
* login as service principal. Example: `az account add --ServicePrincipal --TenantId <tenant> --ApplicationId <id> --Secret <secret>`
69+
* login interactively using device flow, this is the only option for msa account or any org-id with 2fa enforced, example: `az login`
70+
* login with user and password, this works on org-id w/o 2fa enforced, example: `az login --Username [email protected] --Password password1`
71+
* login as service principal. Example: `az login --ServicePrincipal --TenantId <tenant> --ApplicationId <id> --Secret <secret>`
7272
* Piping between cmdlets should work the same way that Powerhell piping works
73-
```az subscription get --SubscriptionName | az context set```
73+
```az subscription ls --SubscriptionName | az context set```
7474
* You can capture piped output using redirection to a file - the result will be the json serialization of the output object.
75-
```az subscription get > subscriptions.json```
75+
```az subscription ls > subscriptions.json```
7676
* You can use file input to a parameter using '@' notation:
7777
```az command --param1 @file1.json```
7878
Reads input from file1.json and attempts to deserialize the .net object that is the Parameter type for ```param1```

dockerfiles/latest-trusty/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM ubuntu:14.04
2+
3+
# all in one RUN to produce less, smaller layers
4+
RUN bash -c "\
5+
sudo apt-get -qqy update && \
6+
sudo apt-get -qqy upgrade && \
7+
sudo apt-get -qqy install wget libicu-dev libunwind8-dev libcurl3 libcurl4-gnutls-dev && \
8+
sudo apt-get clean && \
9+
sudo rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*"
10+
11+
RUN bash -c "\
12+
mkdir /opt/az && \
13+
cd /opt/az && \
14+
wget https://azurecludrops.blob.core.windows.net/drops/ubuntu.14.04-x64.latest.tar.gz && \
15+
tar xvzf ubuntu.14.04-x64.latest.tar.gz"
16+
17+
ENV PATH "$PATH:/opt/az/ubuntu.14.04-x64/"
18+
19+
WORKDIR /opt/az/ubuntu.14.04-x64/

src/CLU/CLUCoreCLR.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Sync", "Sync\Sync.xproj", "
6666
EndProject
6767
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Azure.Commands.Network", "Microsoft.Azure.Commands.Network\Microsoft.Azure.Commands.Network.xproj", "{C4DCF4EA-62E7-431E-ADB5-16FD6CFEA5D6}"
6868
EndProject
69+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.CLU.Test", "Microsoft.CLU.Test\Microsoft.CLU.Test.xproj", "{13C34370-51A4-4726-81B8-BE0996FC9CF0}"
70+
EndProject
6971
Global
7072
GlobalSection(SolutionConfigurationPlatforms) = preSolution
7173
Debug|Any CPU = Debug|Any CPU
@@ -166,6 +168,10 @@ Global
166168
{C4DCF4EA-62E7-431E-ADB5-16FD6CFEA5D6}.Debug|Any CPU.Build.0 = Debug|Any CPU
167169
{C4DCF4EA-62E7-431E-ADB5-16FD6CFEA5D6}.Release|Any CPU.ActiveCfg = Release|Any CPU
168170
{C4DCF4EA-62E7-431E-ADB5-16FD6CFEA5D6}.Release|Any CPU.Build.0 = Release|Any CPU
171+
{13C34370-51A4-4726-81B8-BE0996FC9CF0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
172+
{13C34370-51A4-4726-81B8-BE0996FC9CF0}.Debug|Any CPU.Build.0 = Debug|Any CPU
173+
{13C34370-51A4-4726-81B8-BE0996FC9CF0}.Release|Any CPU.ActiveCfg = Release|Any CPU
174+
{13C34370-51A4-4726-81B8-BE0996FC9CF0}.Release|Any CPU.Build.0 = Release|Any CPU
169175
EndGlobalSection
170176
GlobalSection(SolutionProperties) = preSolution
171177
HideSolutionNode = FALSE

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/BackendAddressPool/AddAzureApplicationGatewayBackendAddressPoolCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace Microsoft.Azure.Commands.Network
2222
{
2323
[Cmdlet(VerbsCommon.Add, "AzureRmApplicationGatewayBackendAddressPool"), OutputType(typeof(PSApplicationGateway))]
24-
[CliCommandAlias("applicationgateway backendaddress pool add")]
24+
[CliCommandAlias("network app gateway backend address pool add")]
2525
public class AddAzureApplicationGatewayBackendAddressPoolCommand : AzureApplicationGatewayBackendAddressPoolBase
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/BackendAddressPool/GetAzureApplicationGatewayBackendAddressPoolCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Network
2121
{
2222
[Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewayBackendAddressPool"),
2323
OutputType(typeof(PSApplicationGatewayBackendAddressPool), typeof(IEnumerable<PSApplicationGatewayBackendAddressPool>))]
24-
[CliCommandAlias("applicationgateway backendaddress pool ls")]
24+
[CliCommandAlias("network app gateway backend address pool ls")]
2525
public class GetAzureApplicationGatewayBackendAddressPoolCommand : NetworkBaseCmdlet
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/BackendAddressPool/NewAzureApplicationGatewayBackendAddressPoolCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Network
2020
{
2121
[Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewayBackendAddressPool"), OutputType(typeof(PSApplicationGatewayBackendAddressPool))]
22-
[CliCommandAlias("applicationgateway backendaddress pool new")]
22+
[CliCommandAlias("network app gateway backend address pool create")]
2323
public class NewAzureApplicationGatewayBackendAddressPoolCommand : AzureApplicationGatewayBackendAddressPoolBase
2424
{
2525
public override void ExecuteCmdlet()

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/BackendAddressPool/RemoveAzureApplicationGatewayBackendAddressPoolCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Network
2020
{
2121
[Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewayBackendAddressPool"), OutputType(typeof(PSApplicationGatewayBackendAddressPool))]
22-
[CliCommandAlias("applicationgateway backendaddress pool rm")]
22+
[CliCommandAlias("network app gateway backend address pool rm")]
2323
public class RemoveAzureApplicationGatewayBackendAddressPoolCommand : NetworkBaseCmdlet
2424
{
2525
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/BackendAddressPool/SetAzureApplicationGatewayBackendAddressPoolCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace Microsoft.Azure.Commands.Network
2222
{
2323
[Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewayBackendAddressPool"), OutputType(typeof(PSApplicationGateway))]
24-
[CliCommandAlias("applicationgateway backendaddress pool set")]
24+
[CliCommandAlias("network app gateway backend address pool set")]
2525
public class SetAzureApplicationGatewayBackendAddressPoolCommand : AzureApplicationGatewayBackendAddressPoolBase
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/BackendHttpSettings/AddAzureApplicationGatewayBackendHttpSettingsCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace Microsoft.Azure.Commands.Network
2222
{
2323
[Cmdlet(VerbsCommon.Add, "AzureRmApplicationGatewayBackendHttpSettings"), OutputType(typeof(PSApplicationGateway))]
24-
[CliCommandAlias("applicationgateway backend http settings add")]
24+
[CliCommandAlias("network app gateway backend http settings add")]
2525
public class AddAzureApplicationGatewayBackendHttpSettingsCommand : AzureApplicationGatewayBackendHttpSettingsBase
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/BackendHttpSettings/GetAzureApplicationGatewayBackendHttpSettingsCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Network
2121
{
2222
[Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewayBackendHttpSettings"),
2323
OutputType(typeof(PSApplicationGatewayBackendHttpSettings), typeof(IEnumerable<PSApplicationGatewayBackendHttpSettings>))]
24-
[CliCommandAlias("applicationgateway backend http settings ls")]
24+
[CliCommandAlias("network app gateway backend http settings ls")]
2525
public class GetAzureApplicationGatewayBackendHttpSettings : NetworkBaseCmdlet
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/BackendHttpSettings/NewAzureApplicationGatewayBackendHttpSettingsCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Network
2020
{
2121
[Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewayBackendHttpSettings"), OutputType(typeof(PSApplicationGatewayBackendHttpSettings))]
22-
[CliCommandAlias("applicationgateway backend http settings new")]
22+
[CliCommandAlias("network app gateway backend http settings create")]
2323
public class NewAzureApplicationGatewayBackendHttpSettingsCommand : AzureApplicationGatewayBackendHttpSettingsBase
2424
{
2525
public override void ExecuteCmdlet()

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/BackendHttpSettings/RemoveAzureApplicationGatewayBackendHttpSettingsCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Network
2020
{
2121
[Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewayBackendHttpSettings"), OutputType(typeof(PSApplicationGateway))]
22-
[CliCommandAlias("applicationgateway backend http settings rm")]
22+
[CliCommandAlias("network app gateway backend http settings rm")]
2323
public class RemoveAzureApplicationGatewayBackendHttpSettingsCommand : NetworkBaseCmdlet
2424
{
2525
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/BackendHttpSettings/SetAzureApplicationGatewayBackendHttpSettingsCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace Microsoft.Azure.Commands.Network
2222
{
2323
[Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewayBackendHttpSettings"), OutputType(typeof(PSApplicationGateway))]
24-
[CliCommandAlias("applicationgateway backend http settings set")]
24+
[CliCommandAlias("network app gateway backend http settings set")]
2525
public class SetAzureApplicationGatewayBackendHttpSettingsCommand : AzureApplicationGatewayBackendHttpSettingsBase
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/FrontendIPConfiguration/AddAzureApplicationGatewayFrontendIPConfigCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
namespace Microsoft.Azure.Commands.Network
2121
{
2222
[Cmdlet(VerbsCommon.Add, "AzureRmApplicationGatewayFrontendIPConfig"), OutputType(typeof(PSApplicationGateway))]
23-
[CliCommandAlias("applicationgateway frontend port add")]
23+
[CliCommandAlias("network app gateway frontend ipconfig add")]
2424
public class AddAzureApplicationGatewayFrontendIPConfigCommand : AzureApplicationGatewayFrontendIPConfigBase
2525
{
2626
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/FrontendIPConfiguration/GetAzureApplicationGatewayFrontendIPConfigCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Network
2121
{
2222
[Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewayFrontendIPConfig"),
2323
OutputType(typeof(PSApplicationGatewayFrontendIPConfiguration), typeof(IEnumerable<PSApplicationGatewayFrontendIPConfiguration>))]
24-
[CliCommandAlias("applicationgateway frontend port ls")]
24+
[CliCommandAlias("network app gateway frontend ipconfig ls")]
2525
public class GetAzureApplicationGatewayFrontendIPConfigCommand : NetworkBaseCmdlet
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/FrontendIPConfiguration/NewAzureApplicationGatewayFrontendIPConfigCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
namespace Microsoft.Azure.Commands.Network
1919
{
2020
[Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewayFrontendIPConfig"), OutputType(typeof(PSApplicationGatewayFrontendIPConfiguration))]
21-
[CliCommandAlias("applicationgateway frontend port new")]
21+
[CliCommandAlias("network app gateway frontend ipconfig create")]
2222
public class NewAzureApplicationGatewayFrontendIPConfigCommand : AzureApplicationGatewayFrontendIPConfigBase
2323
{
2424
public override void ExecuteCmdlet()

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/FrontendIPConfiguration/RemoveAzureApplicationGatewayFrontendIPConfigCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Network
2020
{
2121
[Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewayFrontendIPConfig"), OutputType(typeof(PSApplicationGateway))]
22-
[CliCommandAlias("applicationgateway frontend port rm")]
22+
[CliCommandAlias("network app gateway frontend ipconfig rm")]
2323
public class RemoveAzureApplicationGatewayFrontendIPConfigCommand : NetworkBaseCmdlet
2424
{
2525
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/FrontendIPConfiguration/SetAzureApplicationGatewayFrontendIPConfigCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
namespace Microsoft.Azure.Commands.Network
2121
{
2222
[Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewayFrontendIPConfig"), OutputType(typeof(PSApplicationGateway))]
23-
[CliCommandAlias("applicationgateway frontend port set")]
23+
[CliCommandAlias("network app gateway frontend ipconfig set")]
2424
public class SetAzureApplicationGatewayFrontendIPConfigCommand : AzureApplicationGatewayFrontendIPConfigBase
2525
{
2626
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/FrontendPort/AddAzureApplicationGatewayFrontendPortCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace Microsoft.Azure.Commands.Network
2222
{
2323
[Cmdlet(VerbsCommon.Add, "AzureRmApplicationGatewayFrontendPort"), OutputType(typeof(PSApplicationGateway))]
24-
[CliCommandAlias("applicationgateway frontendipconfig add")]
24+
[CliCommandAlias("network app gateway frontend port add")]
2525
public class AddAzureApplicationGatewayFrontendPortCommand : AzureApplicationGatewayFrontendPortBase
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/FrontendPort/GetAzureApplicationGatewayFrontendPortCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Network
2121
{
2222
[Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewayFrontendPort"),
2323
OutputType(typeof(PSApplicationGatewayFrontendPort), typeof(IEnumerable<PSApplicationGatewayFrontendPort>))]
24-
[CliCommandAlias("applicationgateway frontendipconfig ls")]
24+
[CliCommandAlias("network app gateway frontend port ls")]
2525
public class GetAzureApplicationGatewayFrontendPortCommand : NetworkBaseCmdlet
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/FrontendPort/NewAzureApplicationGatewayFrontendPortCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Network
2020
{
2121
[Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewayFrontendPort"), OutputType(typeof(PSApplicationGatewayFrontendPort))]
22-
[CliCommandAlias("applicationgateway frontendipconfig new")]
22+
[CliCommandAlias("network app gateway frontend port create")]
2323
public class NewAzureApplicationGatewayFrontendPortCommand : AzureApplicationGatewayFrontendPortBase
2424
{
2525
public override void ExecuteCmdlet()

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/FrontendPort/RemoveAzureApplicationGatewayFrontendPortCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Network
2020
{
2121
[Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewayFrontendPort"), OutputType(typeof(PSApplicationGateway))]
22-
[CliCommandAlias("applicationgateway frontendipconfig rm")]
22+
[CliCommandAlias("network app gateway frontend port rm")]
2323
public class RemoveAzureApplicationGatewayFrontendPortCommand : NetworkBaseCmdlet
2424
{
2525
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/FrontendPort/SetAzureApplicationGatewayFrontendPortCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace Microsoft.Azure.Commands.Network
2222
{
2323
[Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewayFrontendPort"), OutputType(typeof(PSApplicationGateway))]
24-
[CliCommandAlias("applicationgateway frontendipconfig set")]
24+
[CliCommandAlias("network app gateway frontend port set")]
2525
public class SetAzureApplicationGatewayFrontendPortCommand : AzureApplicationGatewayFrontendPortBase
2626
{
2727

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/GatewayIPConfiguration/AddAzureApplicationGatewayIPConfigurationCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace Microsoft.Azure.Commands.Network
2222
{
2323
[Cmdlet(VerbsCommon.Add, "AzureRmApplicationGatewayIPConfiguration"), OutputType(typeof(PSApplicationGateway))]
24-
[CliCommandAlias("applicationgateway ipconfiguration add")]
24+
[CliCommandAlias("network app gateway ipconfig add")]
2525
public class AddAzureApplicationGatewayIPConfigurationCommand : AzureApplicationGatewayIPConfigurationBase
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/GatewayIPConfiguration/GetAzureApplicationGatewayIPConfigurationCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Network
2121
{
2222
[Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewayIPConfiguration"),
2323
OutputType(typeof(PSApplicationGatewayIPConfiguration), typeof(IEnumerable<PSApplicationGatewayIPConfiguration>))]
24-
[CliCommandAlias("applicationgateway ipconfiguration ls")]
24+
[CliCommandAlias("network app gateway ipconfig ls")]
2525
public class GetAzureApplicationGatewayIPConfigurationCommand : NetworkBaseCmdlet
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/GatewayIPConfiguration/NewAzureApplicationGatewayIPConfigurationCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Network
2020
{
2121
[Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewayIPConfiguration"), OutputType(typeof(PSApplicationGatewayIPConfiguration))]
22-
[CliCommandAlias("applicationgateway ipconfiguration new")]
22+
[CliCommandAlias("network app gateway ipconfig create")]
2323
public class NewAzureApplicationGatewayIPConfigurationCommand : AzureApplicationGatewayIPConfigurationBase
2424
{
2525
public override void ExecuteCmdlet()

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/GatewayIPConfiguration/RemoveAzureApplicationGatewayIPConfigurationCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Network
2020
{
2121
[Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewayIPConfiguration"), OutputType(typeof(PSApplicationGateway))]
22-
[CliCommandAlias("applicationgateway ipconfiguration rm")]
22+
[CliCommandAlias("network app gateway ipconfig rm")]
2323
public class RemoveAzureApplicationGatewayIPConfigurationCommand : NetworkBaseCmdlet
2424
{
2525
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/GatewayIPConfiguration/SetAzureApplicationGatewayIPConfigurationCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace Microsoft.Azure.Commands.Network
2222
{
2323
[Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewayIPConfiguration"), OutputType(typeof(PSApplicationGateway))]
24-
[CliCommandAlias("applicationgateway ipconfiguration set")]
24+
[CliCommandAlias("network app gateway ipconfig set")]
2525
public class SetAzureApplicationGatewayIPConfigurationCommand : AzureApplicationGatewayIPConfigurationBase
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/GetAzureApplicationGatewayCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace Microsoft.Azure.Commands.Network
2222
{
2323
[Cmdlet(VerbsCommon.Get, "AzureRmApplicationGateway"), OutputType(typeof(PSApplicationGateway), typeof(IEnumerable<PSApplicationGateway>))]
24-
[CliCommandAlias("applicationgateway ls")]
24+
[CliCommandAlias("network app gateway ls")]
2525
public class GetAzureApplicationGatewayCommand : ApplicationGatewayBaseCmdlet
2626
{
2727
[Alias("ResourceName")]

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/HttpListener/AddAzureApplicationGatewayHttpListenerCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace Microsoft.Azure.Commands.Network
2222
{
2323
[Cmdlet(VerbsCommon.Add, "AzureRmApplicationGatewayHttpListener"), OutputType(typeof(PSApplicationGateway))]
24-
[CliCommandAlias("applicationgateway httplistener add")]
24+
[CliCommandAlias("network app gateway http listener add")]
2525
public class AddAzureApplicationGatewayHttpListenerCommand : AzureApplicationGatewayHttpListenerBase
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/HttpListener/GetAzureApplicationGatewayHttpListenerCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Network
2121
{
2222
[Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewayHttpListener"),
2323
OutputType(typeof(PSApplicationGatewayHttpListener), typeof(IEnumerable<PSApplicationGatewayHttpListener>))]
24-
[CliCommandAlias("applicationgateway httplistener ls")]
24+
[CliCommandAlias("network app gateway http listener ls")]
2525
public class GetAzureApplicationGatewayHttpListenerCommand : NetworkBaseCmdlet
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/HttpListener/NewAzureApplicationGatewayHttpListenerCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Network
2020
{
2121
[Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewayHttpListener"), OutputType(typeof(PSApplicationGatewayHttpListener))]
22-
[CliCommandAlias("applicationgateway httplistener new")]
22+
[CliCommandAlias("network app gateway http listener create")]
2323
public class NewAzureApplicationGatewayHttpListenerCommand : AzureApplicationGatewayHttpListenerBase
2424
{
2525
public override void ExecuteCmdlet()

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/HttpListener/RemoveAzureApplicationGatewayHttpListenerCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Network
2020
{
2121
[Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewayHttpListener"), OutputType(typeof(PSApplicationGatewayHttpListener))]
22-
[CliCommandAlias("applicationgateway httplistener rm")]
22+
[CliCommandAlias("network app gateway http listener rm")]
2323
public class RemoveAzureApplicationGatewayHttpListenerCommand : NetworkBaseCmdlet
2424
{
2525
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/HttpListener/SetAzureApplicationGatewayHttpListenerCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace Microsoft.Azure.Commands.Network
2222
{
2323
[Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewayHttpListener"), OutputType(typeof(PSApplicationGateway))]
24-
[CliCommandAlias("applicationgateway httplistener set")]
24+
[CliCommandAlias("network app gateway http listener set")]
2525
public class SetAzureApplicationGatewayHttpListenerCommand : AzureApplicationGatewayHttpListenerBase
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Network/ApplicationGateway/NewAzureApplicationGatewayCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
namespace Microsoft.Azure.Commands.Network
2525
{
2626
[Cmdlet(VerbsCommon.New, "AzureRmApplicationGateway"), OutputType(typeof(PSApplicationGateway))]
27-
[CliCommandAlias("applicationgateway new")]
27+
[CliCommandAlias("network app gateway create")]
2828
public class NewAzureApplicationGatewayCommand : ApplicationGatewayBaseCmdlet
2929
{
3030
[Alias("ResourceName")]

0 commit comments

Comments
 (0)