Skip to content

Commit 9a290f1

Browse files
Maddie Claytonazdevxps
authored andcommitted
add cdn files
1 parent 5ac7e91 commit 9a290f1

18 files changed

+36
-0
lines changed

src/ResourceManager/Cdn/Commands.Cdn/CustomDomain/GetAzureRmCdnCustomDomain.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
using Microsoft.Azure.Management.Cdn;
2121
using System.Linq;
2222
using Microsoft.Azure.Commands.Cdn.Models.Endpoint;
23+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2324

2425
namespace Microsoft.Azure.Commands.Cdn.CustomDomain
2526
{
@@ -39,6 +40,7 @@ public class GetAzureRmCdnCustomDomain : AzureCdnCmdletBase
3940
public string ProfileName { get; set; }
4041

4142
[Parameter(Mandatory = true, HelpMessage = "The resource group of the Azure CDN profile.", ParameterSetName = FieldsParameterSet)]
43+
[ResourceGroupCompleter()]
4244
[ValidateNotNullOrEmpty]
4345
public string ResourceGroupName { get; set; }
4446

src/ResourceManager/Cdn/Commands.Cdn/CustomDomain/NewAzureRmCdnCustomDomain.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
using System.Linq;
2929
using Microsoft.WindowsAzure.Commands.Common;
3030
using Microsoft.Azure.Commands.Common.Authentication.Abstractions;
31+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
3132

3233
namespace Microsoft.Azure.Commands.Cdn.CustomDomain
3334
{
@@ -51,6 +52,7 @@ public class NewAzureRmCdnCustomDomain : AzureCdnCmdletBase, IModuleAssemblyInit
5152
public string ProfileName { get; set; }
5253

5354
[Parameter(Mandatory = true, HelpMessage = "The resource group of the Azure CDN profile.", ParameterSetName = FieldsParameterSet)]
55+
[ResourceGroupCompleter()]
5456
[ValidateNotNullOrEmpty]
5557
public string ResourceGroupName { get; set; }
5658

src/ResourceManager/Cdn/Commands.Cdn/CustomDomain/RemoveAzureRmCdnCustomDomain.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
using Microsoft.Azure.Management.Cdn;
2222
using Microsoft.Azure.Management.Cdn.Models;
2323
using System.Linq;
24+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2425

2526
namespace Microsoft.Azure.Commands.Cdn.CustomDomain
2627
{
@@ -44,6 +45,7 @@ public class RemoveAzureRmCdnCustomDomain : AzureCdnCmdletBase
4445
public string ProfileName { get; set; }
4546

4647
[Parameter(Mandatory = true, ParameterSetName = FieldsParameterSet, HelpMessage = "The resource group of the Azure CDN profile")]
48+
[ResourceGroupCompleter()]
4749
[ValidateNotNullOrEmpty]
4850
public string ResourceGroupName { get; set; }
4951

src/ResourceManager/Cdn/Commands.Cdn/Endpoint/GetAzureRmCdnEndpoint.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
using Microsoft.Azure.Management.Cdn;
2121
using System.Linq;
2222
using Microsoft.Azure.Commands.Cdn.Models.Profile;
23+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2324

2425
namespace Microsoft.Azure.Commands.Cdn.Endpoint
2526
{
@@ -35,6 +36,7 @@ public class GetAzureRmCdnEndpoint : AzureCdnCmdletBase
3536
public string ProfileName { get; set; }
3637

3738
[Parameter(Mandatory = true, HelpMessage = "The resource group of the Azure CDN Profile.", ParameterSetName = FieldsParameterSet)]
39+
[ResourceGroupCompleter()]
3840
[ValidateNotNullOrEmpty]
3941
public string ResourceGroupName { get; set; }
4042

src/ResourceManager/Cdn/Commands.Cdn/Endpoint/GetAzureRmCdnEndpointResourceUsage.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
using System.Linq;
2121
using Microsoft.Azure.Commands.Cdn.Models;
2222
using Microsoft.Azure.Commands.Cdn.Models.Endpoint;
23+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2324

2425
namespace Microsoft.Azure.Commands.Cdn.Endpoint
2526
{
@@ -35,6 +36,7 @@ public class GetAzureRmCdnEndpointResourceUsage : AzureCdnCmdletBase
3536
public string ProfileName { get; set; }
3637

3738
[Parameter(Mandatory = true, HelpMessage = "The resource group of the Azure CDN Profile.", ParameterSetName = FieldsParameterSet)]
39+
[ResourceGroupCompleter()]
3840
[ValidateNotNullOrEmpty]
3941
public string ResourceGroupName { get; set; }
4042

src/ResourceManager/Cdn/Commands.Cdn/Endpoint/NewAzureRmCdnEndpoint.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
using Microsoft.Azure.Management.Cdn;
2626
using Microsoft.Azure.Management.Cdn.Models;
2727
using Microsoft.Azure.Commands.Cdn.Models.Profile;
28+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2829

2930
namespace Microsoft.Azure.Commands.Cdn.Endpoint
3031
{
@@ -40,6 +41,7 @@ public class NewAzureRmCdnEndpoint : AzureCdnCmdletBase
4041
public string ProfileName { get; set; }
4142

4243
[Parameter(Mandatory = true, HelpMessage = "The resource group of the Azure CDN Profile.", ParameterSetName = FieldsParameterSet)]
44+
[ResourceGroupCompleter()]
4345
[ValidateNotNullOrEmpty]
4446
public string ResourceGroupName { get; set; }
4547

src/ResourceManager/Cdn/Commands.Cdn/Endpoint/PublishAzureRmCdnEndpointContent.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using Microsoft.Azure.Commands.Cdn.Models.Endpoint;
1818
using Microsoft.Azure.Commands.Cdn.Properties;
1919
using Microsoft.Azure.Management.Cdn;
20+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2021

2122
namespace Microsoft.Azure.Commands.Cdn.Endpoint
2223
{
@@ -32,6 +33,7 @@ public class PublishAzureRmCdnEndpointContent : AzureCdnCmdletBase
3233
public string ProfileName { get; set; }
3334

3435
[Parameter(Mandatory = true, ParameterSetName = FieldsParameterSet, HelpMessage = "The resource group of the Azure CDN profile.")]
36+
[ResourceGroupCompleter()]
3537
[ValidateNotNullOrEmpty]
3638
public string ResourceGroupName { get; set; }
3739

src/ResourceManager/Cdn/Commands.Cdn/Endpoint/RemoveAzureRmCdnEndnpoint.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
using Microsoft.Azure.Management.Cdn;
2222
using Microsoft.Azure.Management.Cdn.Models;
2323
using System.Linq;
24+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2425

2526
namespace Microsoft.Azure.Commands.Cdn.Endpoint
2627
{
@@ -36,6 +37,7 @@ public class RemoveAzureCdnEndpoint : AzureCdnCmdletBase
3637
public string ProfileName { get; set; }
3738

3839
[Parameter(Mandatory = true, ParameterSetName = FieldsParameterSet, HelpMessage = "The resource group of the Azure CDN profile")]
40+
[ResourceGroupCompleter()]
3941
[ValidateNotNullOrEmpty]
4042
public string ResourceGroupName { get; set; }
4143

src/ResourceManager/Cdn/Commands.Cdn/Endpoint/StartAzureRmCdnEndpoint.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using Microsoft.Azure.Commands.Cdn.Models.Endpoint;
1818
using Microsoft.Azure.Commands.Cdn.Properties;
1919
using Microsoft.Azure.Management.Cdn;
20+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2021

2122
namespace Microsoft.Azure.Commands.Cdn.Endpoint
2223
{
@@ -32,6 +33,7 @@ public class StartAzureRmCdnEndpoint : AzureCdnCmdletBase
3233
public string ProfileName { get; set; }
3334

3435
[Parameter(Mandatory = true, ParameterSetName = FieldsParameterSet, HelpMessage = "The resource group of the Azure CDN profile.")]
36+
[ResourceGroupCompleter()]
3537
[ValidateNotNullOrEmpty]
3638
public string ResourceGroupName { get; set; }
3739

src/ResourceManager/Cdn/Commands.Cdn/Endpoint/StopAzureRmCdnEndpoint.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using Microsoft.Azure.Commands.Cdn.Models.Endpoint;
1818
using Microsoft.Azure.Commands.Cdn.Properties;
1919
using Microsoft.Azure.Management.Cdn;
20+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2021

2122
namespace Microsoft.Azure.Commands.Cdn.Endpoint
2223
{
@@ -32,6 +33,7 @@ public class StopAzureRmCdnEndpoint : AzureCdnCmdletBase
3233
public string ProfileName { get; set; }
3334

3435
[Parameter(Mandatory = true, ParameterSetName = FieldsParameterSet, HelpMessage = "The resource group of the Azure CDN profile")]
36+
[ResourceGroupCompleter()]
3537
[ValidateNotNullOrEmpty]
3638
public string ResourceGroupName { get; set; }
3739

src/ResourceManager/Cdn/Commands.Cdn/Endpoint/TestAzureRmCdnCustomDomain.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
using Microsoft.Azure.Commands.Cdn.Models.Endpoint;
1919
using Microsoft.Azure.Commands.Cdn.Properties;
2020
using Microsoft.Azure.Management.Cdn;
21+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2122

2223
namespace Microsoft.Azure.Commands.Cdn.Endpoint
2324
{
@@ -33,6 +34,7 @@ public class TestAzureRmCdnCustomDomain : AzureCdnCmdletBase
3334
public string ProfileName { get; set; }
3435

3536
[Parameter(Mandatory = true, ParameterSetName = FieldsParameterSet, HelpMessage = "The resource group of the Azure CDN profile")]
37+
[ResourceGroupCompleter()]
3638
[ValidateNotNullOrEmpty]
3739
public string ResourceGroupName { get; set; }
3840

src/ResourceManager/Cdn/Commands.Cdn/Endpoint/UnpublishAzureRmCdnEndpointContent.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using Microsoft.Azure.Commands.Cdn.Models.Endpoint;
1818
using Microsoft.Azure.Commands.Cdn.Properties;
1919
using Microsoft.Azure.Management.Cdn;
20+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2021

2122
namespace Microsoft.Azure.Commands.Cdn.Endpoint
2223
{
@@ -32,6 +33,7 @@ public class UnpublishAzureRmCdnEndpointContent : AzureCdnCmdletBase
3233
public string ProfileName { get; set; }
3334

3435
[Parameter(Mandatory = true, ParameterSetName = FieldsParameterSet, HelpMessage = "The resource group of the Azure CDN profile")]
36+
[ResourceGroupCompleter()]
3537
[ValidateNotNullOrEmpty]
3638
public string ResourceGroupName { get; set; }
3739

src/ResourceManager/Cdn/Commands.Cdn/Origin/GetAzureRmCdnOrigin.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
using Microsoft.Azure.Management.Cdn;
2121
using System.Linq;
2222
using Microsoft.Azure.Commands.Cdn.Models.Endpoint;
23+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2324

2425
namespace Microsoft.Azure.Commands.Cdn.Origin
2526
{
@@ -39,6 +40,7 @@ public class GetAzureRmCdnOrigin : AzureCdnCmdletBase
3940
public string ProfileName { get; set; }
4041

4142
[Parameter(Mandatory = true, HelpMessage = "The resource group of the Azure CDN profile.", ParameterSetName = FieldsParameterSet)]
43+
[ResourceGroupCompleter()]
4244
[ValidateNotNullOrEmpty]
4345
public string ResourceGroupName { get; set; }
4446

src/ResourceManager/Cdn/Commands.Cdn/Profile/GetAzureRmCdnProfile.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
using System;
2323
using System.Net;
2424
using Microsoft.Azure.Management.Cdn.Models;
25+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2526

2627
namespace Microsoft.Azure.Commands.Cdn.Profile
2728
{
@@ -42,6 +43,7 @@ public class GetAzureRmCdnProfile : AzureCdnCmdletBase
4243
/// The resource group name of the profile.
4344
/// </summary>
4445
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group of the Azure CDN profile.")]
46+
[ResourceGroupCompleter()]
4547
[ValidateNotNullOrEmpty]
4648
public string ResourceGroupName { get; set; }
4749

src/ResourceManager/Cdn/Commands.Cdn/Profile/GetAzureRmCdnProfileResourceUsage.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
using System.Linq;
2121
using Microsoft.Azure.Commands.Cdn.Helpers;
2222
using Microsoft.Azure.Commands.Cdn.Models;
23+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2324

2425
namespace Microsoft.Azure.Commands.Cdn.Profile
2526
{
@@ -31,6 +32,7 @@ public class GetAzureRmCdnProfileResourceUsage : AzureCdnCmdletBase
3132
public string ProfileName { get; set; }
3233

3334
[Parameter(Mandatory = true, ParameterSetName = FieldsParameterSet, HelpMessage = "The resource group to which the profile belongs.")]
35+
[ResourceGroupCompleter()]
3436
[ValidateNotNullOrEmpty]
3537
public string ResourceGroupName { get; set; }
3638

src/ResourceManager/Cdn/Commands.Cdn/Profile/GetAzureRmCdnProfileSsoUrl.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using Microsoft.Azure.Commands.Cdn.Models.Profile;
1818
using Microsoft.Azure.Commands.Cdn.Properties;
1919
using Microsoft.Azure.Management.Cdn;
20+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2021

2122
namespace Microsoft.Azure.Commands.Cdn.Profile
2223
{
@@ -28,6 +29,7 @@ public class GetAzureRmCdnProfileSsoUrl : AzureCdnCmdletBase
2829
public string ProfileName { get; set; }
2930

3031
[Parameter(Mandatory = true, ParameterSetName = FieldsParameterSet, HelpMessage = "The resource group to which the profile belongs.")]
32+
[ResourceGroupCompleter()]
3133
[ValidateNotNullOrEmpty]
3234
public string ResourceGroupName { get; set; }
3335

src/ResourceManager/Cdn/Commands.Cdn/Profile/NewAzureRmCdnProfile.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
using SdkSku = Microsoft.Azure.Management.Cdn.Models.Sku;
2525
using SdkSkuName = Microsoft.Azure.Management.Cdn.Models.SkuName;
2626
using System.Linq;
27+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2728

2829
namespace Microsoft.Azure.Commands.Cdn.Profile
2930
{
@@ -57,6 +58,7 @@ public class NewAzureRmCdnProfile : AzureCdnCmdletBase
5758
/// The resource group name of the profile.
5859
/// </summary>
5960
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group of the Azure CDN profile will be created in.")]
61+
[ResourceGroupCompleter()]
6062
public string ResourceGroupName { get; set; }
6163

6264
/// <summary>

src/ResourceManager/Cdn/Commands.Cdn/Profile/RemoveAzureRmCdnProfile.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
using Microsoft.Azure.Management.Cdn.Models;
2323
using System.Linq;
2424
using Microsoft.Azure.Commands.Cdn.Helpers;
25+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2526

2627
namespace Microsoft.Azure.Commands.Cdn.Profile
2728
{
@@ -33,6 +34,7 @@ public class RemoveAzureRmCdnProfile : AzureCdnCmdletBase
3334
public string ProfileName { get; set; }
3435

3536
[Parameter(Mandatory = true, ParameterSetName = FieldsParameterSet, HelpMessage = "The resource group to which the Azure CDN profile belongs.")]
37+
[ResourceGroupCompleter()]
3638
[ValidateNotNullOrEmpty]
3739
public string ResourceGroupName { get; set; }
3840

0 commit comments

Comments
 (0)