Skip to content

Commit cc2c48d

Browse files
Maddie Claytonazdevxps
authored andcommitted
Add ResourceGroupCompleter to LogicApp
1 parent 0e744a6 commit cc2c48d

File tree

43 files changed

+86
-0
lines changed

Some content is hidden

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

43 files changed

+86
-0
lines changed

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/GetAzureIntegrationAccountAgreementCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1818
using System.Management.Automation;
1919
using Microsoft.Azure.Management.Logic.Models;
2020
using Microsoft.Azure.Commands.LogicApp.Utilities;
21+
using ResourceManager.Common.ArgumentCompleters;
2122

2223
/// <summary>
2324
/// Gets the integration account agreement by name
@@ -34,6 +35,7 @@ public class GetAzureIntegrationAccountAgreementCommand : LogicAppBaseCmdlet
3435
/// </summary>
3536
[Parameter(Mandatory = false, HelpMessage = "The integration account resource group name.",
3637
ValueFromPipelineByPropertyName = true)]
38+
[ResourceGroupCompleter]
3739
[ValidateNotNullOrEmpty]
3840
public string ResourceGroupName { get; set; }
3941

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/GetAzureIntegrationAccountCallbackUrlCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1818
using System.Management.Automation;
1919
using Microsoft.Azure.Commands.LogicApp.Utilities;
2020
using Microsoft.Azure.Management.Logic.Models;
21+
using ResourceManager.Common.ArgumentCompleters;
2122

2223
/// <summary>
2324
/// Gets the integration account callback URL.
@@ -31,6 +32,7 @@ public class GetAzureIntegrationAccountCallbackUrlCommand : LogicAppBaseCmdlet
3132

3233
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
3334
ValueFromPipelineByPropertyName = true)]
35+
[ResourceGroupCompleter]
3436
[ValidateNotNullOrEmpty]
3537
public string ResourceGroupName { get; set; }
3638

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/GetAzureIntegrationAccountCertificateCommand.cs

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

2223
/// <summary>
2324
/// Gets the integration account certificate by name.
@@ -31,6 +32,7 @@ public class GetAzureIntegrationAccountCertificateCommand : LogicAppBaseCmdlet
3132

3233
[Parameter(Mandatory = false, HelpMessage = "The integration account resource group name.",
3334
ValueFromPipelineByPropertyName = true)]
35+
[ResourceGroupCompleter]
3436
[ValidateNotNullOrEmpty]
3537
public string ResourceGroupName { get; set; }
3638

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/GetAzureIntegrationAccountCommand.cs

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

2223
/// <summary>
2324
/// Gets the integration account by name
@@ -31,6 +32,7 @@ public class GetAzureIntegrationAccountCommand : LogicAppBaseCmdlet
3132

3233
[Parameter(Mandatory = false, HelpMessage = "The integration account resource group name.",
3334
ValueFromPipelineByPropertyName = true)]
35+
[ResourceGroupCompleter]
3436
[ValidateNotNullOrEmpty]
3537
public string ResourceGroupName { get; set; }
3638

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/GetAzureIntegrationAccountGeneratedIcnCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1919
using System.Management.Automation;
2020
using Microsoft.Azure.Commands.LogicApp.Utilities;
2121
using Microsoft.Azure.Management.Logic.Models;
22+
using ResourceManager.Common.ArgumentCompleters;
2223

2324
/// <summary>
2425
/// Gets the integration account generated interchange control number by agreement name
@@ -34,6 +35,7 @@ public class GetAzureIntegrationAccountGeneratedIcnCommand : LogicAppBaseCmdlet
3435
/// </summary>
3536
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
3637
ValueFromPipelineByPropertyName = true)]
38+
[ResourceGroupCompleter]
3739
[ValidateNotNullOrEmpty]
3840
public string ResourceGroupName { get; set; }
3941

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/GetAzureIntegrationAccountMapCommand.cs

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

2223
/// <summary>
2324
/// Gets the integration account map by name
@@ -31,6 +32,7 @@ public class GetAzureIntegrationAccountMapCommand : LogicAppBaseCmdlet
3132

3233
[Parameter(Mandatory = false, HelpMessage = "The integration account resource group name.",
3334
ValueFromPipelineByPropertyName = true)]
35+
[ResourceGroupCompleter]
3436
[ValidateNotNullOrEmpty]
3537
public string ResourceGroupName { get; set; }
3638

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/GetAzureIntegrationAccountPartnerCommand.cs

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

2223
/// <summary>
2324
/// Gets the integration account partner by name
@@ -31,6 +32,7 @@ public class GetAzureIntegrationAccountPartnerCommand : LogicAppBaseCmdlet
3132

3233
[Parameter(Mandatory = false, HelpMessage = "The integration account resource group name.",
3334
ValueFromPipelineByPropertyName = true)]
35+
[ResourceGroupCompleter]
3436
[ValidateNotNullOrEmpty]
3537
public string ResourceGroupName { get; set; }
3638

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/GetAzureIntegrationAccountReceivedIcnCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1818
using System.Management.Automation;
1919
using Microsoft.Azure.Commands.LogicApp.Utilities;
2020
using Microsoft.Azure.Management.Logic.Models;
21+
using ResourceManager.Common.ArgumentCompleters;
2122

2223
/// <summary>
2324
/// Gets the integration account received interchange control number by agreement name and control number value.
@@ -33,6 +34,7 @@ public class GetAzureIntegrationAccountReceivedIcnCommand : LogicAppBaseCmdlet
3334
/// </summary>
3435
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
3536
ValueFromPipelineByPropertyName = true)]
37+
[ResourceGroupCompleter]
3638
[ValidateNotNullOrEmpty]
3739
public string ResourceGroupName { get; set; }
3840

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/GetAzureIntegrationAccountSchemaCommand.cs

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

2223
/// <summary>
2324
/// Gets the integration account schema by name
@@ -31,6 +32,7 @@ public class GetAzureIntegrationAccountSchemaCommand : LogicAppBaseCmdlet
3132

3233
[Parameter(Mandatory = false, HelpMessage = "The integration account resource group name.",
3334
ValueFromPipelineByPropertyName = true)]
35+
[ResourceGroupCompleter]
3436
[ValidateNotNullOrEmpty]
3537
public string ResourceGroupName { get; set; }
3638

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/NewAzureIntegrationAccountAgreementCommand.cs

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

2526
/// <summary>
2627
/// Creates a new integration account agreement.
@@ -34,6 +35,7 @@ public class NewAzureIntegrationAccountAgreementCommand : LogicAppBaseCmdlet
3435

3536
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
3637
ValueFromPipelineByPropertyName = true)]
38+
[ResourceGroupCompleter]
3739
[ValidateNotNullOrEmpty]
3840
public string ResourceGroupName { get; set; }
3941

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/NewAzureIntegrationAccountCertificateCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
2020
using Microsoft.Azure.Commands.LogicApp.Utilities;
2121
using Microsoft.Azure.Management.Logic.Models;
2222
using Microsoft.WindowsAzure.Commands.Utilities.Common;
23+
using ResourceManager.Common.ArgumentCompleters;
2324

2425
/// <summary>
2526
/// Creates a new integration account map.
@@ -36,6 +37,7 @@ public class NewAzureIntegrationAccountCertificateCommand : LogicAppBaseCmdlet
3637
[Parameter(ParameterSetName = "PrivateKey", Mandatory = true)]
3738
[Parameter(ParameterSetName = "PublicKey", Mandatory = true)]
3839
[Parameter(ParameterSetName = "Both", Mandatory = true)]
40+
[ResourceGroupCompleter]
3941
[ValidateNotNullOrEmpty]
4042
public string ResourceGroupName { get; set; }
4143

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/NewAzureIntegrationAccountCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1919
using Microsoft.Azure.Commands.LogicApp.Utilities;
2020
using Microsoft.Azure.Management.Logic.Models;
2121
using Newtonsoft.Json.Linq;
22+
using ResourceManager.Common.ArgumentCompleters;
2223

2324
/// <summary>
2425
/// Creates a new integration account
@@ -32,6 +33,7 @@ public class NewAzureIntegrationAccountCommand : LogicAppBaseCmdlet
3233

3334
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
3435
ValueFromPipelineByPropertyName = true)]
36+
[ResourceGroupCompleter]
3537
[ValidateNotNullOrEmpty]
3638
public string ResourceGroupName { get; set; }
3739

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/NewAzureIntegrationAccountMapCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1919
using Microsoft.Azure.Commands.LogicApp.Utilities;
2020
using Microsoft.Azure.Management.Logic.Models;
2121
using Microsoft.WindowsAzure.Commands.Utilities.Common;
22+
using ResourceManager.Common.ArgumentCompleters;
2223

2324
/// <summary>
2425
/// Creates a new integration account map.
@@ -46,6 +47,7 @@ public class NewAzureIntegrationAccountMapCommand : LogicAppBaseCmdlet
4647

4748
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
4849
ValueFromPipelineByPropertyName = true)]
50+
[ResourceGroupCompleter]
4951
[ValidateNotNullOrEmpty]
5052
public string ResourceGroupName { get; set; }
5153

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/NewAzureIntegrationAccountPartnerCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1919
using Microsoft.Azure.Commands.LogicApp.Utilities;
2020
using Microsoft.Azure.Management.Logic.Models;
2121
using Microsoft.WindowsAzure.Commands.Utilities.Common;
22+
using ResourceManager.Common.ArgumentCompleters;
2223

2324
/// <summary>
2425
/// Creates a new integration account partner.
@@ -41,6 +42,7 @@ public class NewAzureIntegrationAccountPartnerCommand : LogicAppBaseCmdlet
4142

4243
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
4344
ValueFromPipelineByPropertyName = true)]
45+
[ResourceGroupCompleter]
4446
[ValidateNotNullOrEmpty]
4547
public string ResourceGroupName { get; set; }
4648

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/NewAzureIntegrationAccountSchemaCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1919
using Microsoft.Azure.Commands.LogicApp.Utilities;
2020
using Microsoft.Azure.Management.Logic.Models;
2121
using Microsoft.WindowsAzure.Commands.Utilities.Common;
22+
using ResourceManager.Common.ArgumentCompleters;
2223

2324
/// <summary>
2425
/// Creates a new integration account schema.
@@ -46,6 +47,7 @@ public class NewAzureIntegrationAccountSchemaCommand : LogicAppBaseCmdlet
4647

4748
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
4849
ValueFromPipelineByPropertyName = true)]
50+
[ResourceGroupCompleter]
4951
[ValidateNotNullOrEmpty]
5052
public string ResourceGroupName { get; set; }
5153

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/RemoveAzureIntegrationAccountAgreementCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1717
using System.Globalization;
1818
using Microsoft.Azure.Commands.LogicApp.Utilities;
1919
using System.Management.Automation;
20+
using ResourceManager.Common.ArgumentCompleters;
2021

2122
/// <summary>
2223
/// Removes the integration account agreement.
@@ -29,6 +30,7 @@ public class RemoveAzureIntegrationAccountAgreementCommand : LogicAppBaseCmdlet
2930

3031
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
3132
ValueFromPipelineByPropertyName = true)]
33+
[ResourceGroupCompleter]
3234
[ValidateNotNullOrEmpty]
3335
public string ResourceGroupName { get; set; }
3436

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/RemoveAzureIntegrationAccountCertificateCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1717
using System.Globalization;
1818
using Microsoft.Azure.Commands.LogicApp.Utilities;
1919
using System.Management.Automation;
20+
using ResourceManager.Common.ArgumentCompleters;
2021

2122
/// <summary>
2223
/// Removes the integration account certificate.
@@ -29,6 +30,7 @@ public class RemoveAzureIntegrationAccountCertificateCommand : LogicAppBaseCmdle
2930

3031
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
3132
ValueFromPipelineByPropertyName = true)]
33+
[ResourceGroupCompleter]
3234
[ValidateNotNullOrEmpty]
3335
public string ResourceGroupName { get; set; }
3436

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/RemoveAzureIntegrationAccountCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1717
using System.Globalization;
1818
using Microsoft.Azure.Commands.LogicApp.Utilities;
1919
using System.Management.Automation;
20+
using ResourceManager.Common.ArgumentCompleters;
2021

2122
/// <summary>
2223
/// Removes the integration account.
@@ -29,6 +30,7 @@ public class RemoveAzureIntegrationAccountCommand : LogicAppBaseCmdlet
2930

3031
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
3132
ValueFromPipelineByPropertyName = true)]
33+
[ResourceGroupCompleter]
3234
[ValidateNotNullOrEmpty]
3335
public string ResourceGroupName { get; set; }
3436

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/RemoveAzureIntegrationAccountMapCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1717
using System.Globalization;
1818
using Microsoft.Azure.Commands.LogicApp.Utilities;
1919
using System.Management.Automation;
20+
using ResourceManager.Common.ArgumentCompleters;
2021

2122
/// <summary>
2223
/// Removes the integration account map.
@@ -29,6 +30,7 @@ public class RemoveAzureIntegrationAccountMapCommand : LogicAppBaseCmdlet
2930

3031
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
3132
ValueFromPipelineByPropertyName = true)]
33+
[ResourceGroupCompleter]
3234
[ValidateNotNullOrEmpty]
3335
public string ResourceGroupName { get; set; }
3436

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/RemoveAzureIntegrationAccountPartnerCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1717
using System.Globalization;
1818
using Microsoft.Azure.Commands.LogicApp.Utilities;
1919
using System.Management.Automation;
20+
using ResourceManager.Common.ArgumentCompleters;
2021

2122
/// <summary>
2223
/// Removes the integration account partner.
@@ -29,6 +30,7 @@ public class RemoveAzureIntegrationAccountPartnerCommand : LogicAppBaseCmdlet
2930

3031
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
3132
ValueFromPipelineByPropertyName = true)]
33+
[ResourceGroupCompleter]
3234
[ValidateNotNullOrEmpty]
3335
public string ResourceGroupName { get; set; }
3436

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/RemoveAzureIntegrationAccountReceivedIcnCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1919
using System.Management.Automation;
2020
using Microsoft.Azure.Commands.LogicApp.Utilities;
2121
using Microsoft.Azure.Management.Logic.Models;
22+
using ResourceManager.Common.ArgumentCompleters;
2223

2324
/// <summary>
2425
/// Removes the integration account received interchange control number.
@@ -33,6 +34,7 @@ public class RemoveAzureIntegrationAccountReceivedIcnCommand : LogicAppBaseCmdle
3334
Mandatory = true,
3435
HelpMessage = "The integration account resource group name.",
3536
ValueFromPipelineByPropertyName = true)]
37+
[ResourceGroupCompleter]
3638
[ValidateNotNullOrEmpty]
3739
public string ResourceGroupName { get; set; }
3840

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/RemoveAzureIntegrationAccountSchemaCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1717
using System.Globalization;
1818
using Microsoft.Azure.Commands.LogicApp.Utilities;
1919
using System.Management.Automation;
20+
using ResourceManager.Common.ArgumentCompleters;
2021

2122
/// <summary>
2223
/// Removes the integration account schema.
@@ -29,6 +30,7 @@ public class RemoveAzureIntegrationAccountSchemaCommand : LogicAppBaseCmdlet
2930

3031
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
3132
ValueFromPipelineByPropertyName = true)]
33+
[ResourceGroupCompleter]
3234
[ValidateNotNullOrEmpty]
3335
public string ResourceGroupName { get; set; }
3436

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/UpdateAzureIntegrationAccountAgreementCommand.cs

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

2526
/// <summary>
2627
/// Updates the integration account agreement.
@@ -34,6 +35,7 @@ public class UpdateAzureIntegrationAccountAgreementCommand : LogicAppBaseCmdlet
3435

3536
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
3637
ValueFromPipelineByPropertyName = true)]
38+
[ResourceGroupCompleter]
3739
[ValidateNotNullOrEmpty]
3840
public string ResourceGroupName { get; set; }
3941

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/UpdateAzureIntegrationAccountCertificateCommand.cs

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

2526
/// <summary>
2627
/// Updates the integration account certificate.
@@ -34,6 +35,7 @@ public class UpdateAzureIntegrationAccountCertificateCommand : LogicAppBaseCmdle
3435

3536
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
3637
ValueFromPipelineByPropertyName = true)]
38+
[ResourceGroupCompleter]
3739
[ValidateNotNullOrEmpty]
3840
public string ResourceGroupName { get; set; }
3941

src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/UpdateAzureIntegrationAccountCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
1919
using System.Management.Automation;
2020
using Microsoft.Azure.Commands.LogicApp.Utilities;
2121
using Microsoft.Azure.Management.Logic.Models;
22+
using ResourceManager.Common.ArgumentCompleters;
2223

2324
/// <summary>
2425
/// Updates the integration account
@@ -32,6 +33,7 @@ public class UpdateAzureIntegrationAccountCommand : LogicAppBaseCmdlet
3233

3334
[Parameter(Mandatory = true, HelpMessage = "The integration account resource group name.",
3435
ValueFromPipelineByPropertyName = true)]
36+
[ResourceGroupCompleter]
3537
[ValidateNotNullOrEmpty]
3638
public string ResourceGroupName { get; set; }
3739

0 commit comments

Comments
 (0)