File tree Expand file tree Collapse file tree 18 files changed +36
-0
lines changed
src/ResourceManager/EventHub/Commands.EventHub/Cmdlets Expand file tree Collapse file tree 18 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 13
13
// ----------------------------------------------------------------------------------
14
14
15
15
using Microsoft . Azure . Commands . EventHub . Models ;
16
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
16
17
using System . Collections . Generic ;
17
18
using System . Linq ;
18
19
using System . Management . Automation ;
@@ -31,6 +32,7 @@ public class GetAzureEventHubAuthorizationRule : AzureEventHubsCmdletBase
31
32
ValueFromPipelineByPropertyName = true ,
32
33
Position = 0 ,
33
34
HelpMessage = "Resource Group Name." ) ]
35
+ [ ResourceGroupCompleter ]
34
36
[ ValidateNotNullOrEmpty ]
35
37
public string ResourceGroupName { get ; set ; }
36
38
Original file line number Diff line number Diff line change 15
15
using Microsoft . Azure . Management . EventHub . Models ;
16
16
using Microsoft . Azure . Commands . EventHub . Models ;
17
17
using System . Management . Automation ;
18
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
18
19
19
20
namespace Microsoft . Azure . Commands . EventHub . Commands
20
21
{
@@ -28,6 +29,7 @@ public class GetAzureEventhubKey : AzureEventHubsCmdletBase
28
29
ValueFromPipelineByPropertyName = true ,
29
30
Position = 0 ,
30
31
HelpMessage = "Resource Group Name." ) ]
32
+ [ ResourceGroupCompleter ]
31
33
[ ValidateNotNullOrEmpty ]
32
34
public string ResourceGroupName { get ; set ; }
33
35
Original file line number Diff line number Diff line change 16
16
using Microsoft . Azure . Commands . EventHub . Models ;
17
17
using Microsoft . Azure . Management . EventHub . Models ;
18
18
using System . Collections . Generic ;
19
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
19
20
20
21
namespace Microsoft . Azure . Commands . EventHub . Commands
21
22
{
@@ -29,6 +30,7 @@ public class NewAzureEventhubAuthorizationRules : AzureEventHubsCmdletBase
29
30
ValueFromPipelineByPropertyName = true ,
30
31
Position = 0 ,
31
32
HelpMessage = "Resource Group Name." ) ]
33
+ [ ResourceGroupCompleter ]
32
34
[ ValidateNotNullOrEmpty ]
33
35
public string ResourceGroupName { get ; set ; }
34
36
Original file line number Diff line number Diff line change 15
15
using Microsoft . Azure . Management . EventHub . Models ;
16
16
using Microsoft . Azure . Commands . EventHub . Models ;
17
17
using System . Management . Automation ;
18
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
18
19
19
20
namespace Microsoft . Azure . Commands . EventHub . Commands
20
21
{
@@ -28,6 +29,7 @@ public class NewAzureEventhubKey : AzureEventHubsCmdletBase
28
29
ValueFromPipelineByPropertyName = true ,
29
30
Position = 0 ,
30
31
HelpMessage = "Resource Group Name." ) ]
32
+ [ ResourceGroupCompleter ]
31
33
[ ValidateNotNullOrEmpty ]
32
34
[ Alias ( AliasResourceGroup ) ]
33
35
public string ResourceGroupName { get ; set ; }
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
15
16
using System . Management . Automation ;
16
17
17
18
namespace Microsoft . Azure . Commands . EventHub . Commands
@@ -26,6 +27,7 @@ public class RemoveAzureEventhubAuthorizationRules : AzureEventHubsCmdletBase
26
27
ValueFromPipelineByPropertyName = true ,
27
28
Position = 0 ,
28
29
HelpMessage = "Resource Group Name." ) ]
30
+ [ ResourceGroupCompleter ]
29
31
[ ValidateNotNullOrEmpty ]
30
32
public string ResourceGroupName { get ; set ; }
31
33
Original file line number Diff line number Diff line change 16
16
using Microsoft . Azure . Management . EventHub . Models ;
17
17
using System . Management . Automation ;
18
18
using System . Collections . Generic ;
19
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
19
20
20
21
namespace Microsoft . Azure . Commands . EventHub . Commands
21
22
{
@@ -29,6 +30,7 @@ public class SetAzureEventhubAuthorizationRules : AzureEventHubsCmdletBase
29
30
ValueFromPipelineByPropertyName = true ,
30
31
Position = 0 ,
31
32
HelpMessage = "Resource Group Name." ) ]
33
+ [ ResourceGroupCompleter ]
32
34
[ ValidateNotNullOrEmpty ]
33
35
public string ResourceGroupName { get ; set ; }
34
36
Original file line number Diff line number Diff line change 16
16
using System . Linq ;
17
17
using System . Management . Automation ;
18
18
using Microsoft . Azure . Commands . EventHub . Models ;
19
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
19
20
20
21
namespace Microsoft . Azure . Commands . EventHub . Commands . ConsumerGroup
21
22
{
@@ -36,6 +37,7 @@ public class GetAzureRmEventHubConsumerGroup : AzureEventHubsCmdletBase
36
37
ValueFromPipelineByPropertyName = true ,
37
38
Position = 0 ,
38
39
HelpMessage = "Resource Group Name." ) ]
40
+ [ ResourceGroupCompleter ]
39
41
[ ValidateNotNullOrEmpty ]
40
42
public string ResourceGroupName { get ; set ; }
41
43
Original file line number Diff line number Diff line change 14
14
15
15
using System . Management . Automation ;
16
16
using Microsoft . Azure . Commands . EventHub . Models ;
17
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
17
18
18
19
namespace Microsoft . Azure . Commands . EventHub . Commands . ConsumerGroup
19
20
{
@@ -27,6 +28,7 @@ public class NewEventHubConsumerGroup : AzureEventHubsCmdletBase
27
28
ValueFromPipelineByPropertyName = true ,
28
29
Position = 0 ,
29
30
HelpMessage = "Resource Group Name." ) ]
31
+ [ ResourceGroupCompleter ]
30
32
[ ValidateNotNullOrEmpty ]
31
33
public string ResourceGroupName { get ; set ; }
32
34
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
15
16
using System . Management . Automation ;
16
17
namespace Microsoft . Azure . Commands . EventHub . Commands . ConsumerGroup
17
18
{
@@ -25,6 +26,7 @@ public class RemoveAzureRmEventHubConsumerGroupp : AzureEventHubsCmdletBase
25
26
ValueFromPipelineByPropertyName = true ,
26
27
Position = 0 ,
27
28
HelpMessage = "Resource Group Name." ) ]
29
+ [ ResourceGroupCompleter ]
28
30
[ ValidateNotNullOrEmpty ]
29
31
public string ResourceGroupName { get ; set ; }
30
32
Original file line number Diff line number Diff line change 13
13
// ----------------------------------------------------------------------------------
14
14
15
15
using Microsoft . Azure . Commands . EventHub . Models ;
16
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
16
17
using Microsoft . Azure . Management . EventHub . Models ;
17
18
using System . Management . Automation ;
18
19
@@ -28,6 +29,7 @@ public class SetAzureEventHubConsumerGroup : AzureEventHubsCmdletBase
28
29
ValueFromPipelineByPropertyName = true ,
29
30
Position = 0 ,
30
31
HelpMessage = "Resource Group Name." ) ]
32
+ [ ResourceGroupCompleter ]
31
33
[ ValidateNotNullOrEmpty ]
32
34
public string ResourceGroupName { get ; set ; }
33
35
Original file line number Diff line number Diff line change 13
13
// ----------------------------------------------------------------------------------
14
14
15
15
using Microsoft . Azure . Commands . EventHub . Models ;
16
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
16
17
using System . Collections . Generic ;
17
18
using System . Linq ;
18
19
using System . Management . Automation ;
@@ -31,6 +32,7 @@ public class GetAzureRmEventHub : AzureEventHubsCmdletBase
31
32
ValueFromPipelineByPropertyName = true ,
32
33
Position = 0 ,
33
34
HelpMessage = "Resource Group Name." ) ]
35
+ [ ResourceGroupCompleter ]
34
36
[ ValidateNotNullOrEmpty ]
35
37
public string ResourceGroupName { get ; set ; }
36
38
Original file line number Diff line number Diff line change 16
16
using Microsoft . Azure . Management . EventHub . Models ;
17
17
using System . Management . Automation ;
18
18
using System ;
19
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
19
20
20
21
namespace Microsoft . Azure . Commands . EventHub . Commands . EventHub
21
22
{
@@ -29,6 +30,7 @@ public class NewAzureRmEventHub : AzureEventHubsCmdletBase
29
30
ValueFromPipelineByPropertyName = true ,
30
31
Position = 0 ,
31
32
HelpMessage = "Resource Group Name." ) ]
33
+ [ ResourceGroupCompleter ]
32
34
[ ValidateNotNullOrEmpty ]
33
35
public string ResourceGroupName { get ; set ; }
34
36
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
15
16
using System . Management . Automation ;
16
17
namespace Microsoft . Azure . Commands . EventHub . Commands . EventHub
17
18
{
@@ -25,6 +26,7 @@ public class RemoveAzureEventHub : AzureEventHubsCmdletBase
25
26
ValueFromPipelineByPropertyName = true ,
26
27
Position = 0 ,
27
28
HelpMessage = "Resource Group Name." ) ]
29
+ [ ResourceGroupCompleter ]
28
30
[ ValidateNotNullOrEmpty ]
29
31
public string ResourceGroupName { get ; set ; }
30
32
Original file line number Diff line number Diff line change 13
13
// ----------------------------------------------------------------------------------
14
14
15
15
using Microsoft . Azure . Commands . EventHub . Models ;
16
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
16
17
using System . Management . Automation ;
17
18
18
19
namespace Microsoft . Azure . Commands . EventHub . Commands . EventHub
@@ -27,6 +28,7 @@ public class SetAzureEventHub : AzureEventHubsCmdletBase
27
28
ValueFromPipelineByPropertyName = true ,
28
29
Position = 0 ,
29
30
HelpMessage = "Resource Group Name." ) ]
31
+ [ ResourceGroupCompleter ]
30
32
[ ValidateNotNullOrEmpty ]
31
33
public string ResourceGroupName { get ; set ; }
32
34
Original file line number Diff line number Diff line change 13
13
// ----------------------------------------------------------------------------------
14
14
15
15
using Microsoft . Azure . Commands . EventHub . Models ;
16
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
16
17
using System . Collections . Generic ;
17
18
using System . Linq ;
18
19
using System . Management . Automation ;
@@ -32,6 +33,7 @@ public class GetAzureRmEventHubNamespace : AzureEventHubsCmdletBase
32
33
ValueFromPipelineByPropertyName = true ,
33
34
Position = 0 ,
34
35
HelpMessage = "Resource Group Name." ) ]
36
+ [ ResourceGroupCompleter ]
35
37
public string ResourceGroupName { get ; set ; }
36
38
37
39
[ Parameter (
Original file line number Diff line number Diff line change 13
13
// ----------------------------------------------------------------------------------
14
14
15
15
using Microsoft . Azure . Commands . EventHub . Models ;
16
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
16
17
using Microsoft . Azure . Commands . ResourceManager . Common . Tags ;
17
18
using System . Collections ;
18
19
using System . Collections . Generic ;
@@ -34,6 +35,7 @@ public class NewAzureEventHubNamespace : AzureEventHubsCmdletBase
34
35
ValueFromPipelineByPropertyName = true ,
35
36
Position = 0 ,
36
37
HelpMessage = "Resource Group Name." ) ]
38
+ [ ResourceGroupCompleter ]
37
39
[ ValidateNotNullOrEmpty ]
38
40
public string ResourceGroupName { get ; set ; }
39
41
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
15
16
using System . Management . Automation ;
16
17
17
18
namespace Microsoft . Azure . Commands . EventHub . Commands . Namespace
@@ -26,6 +27,7 @@ public class RemoveAzureRmEventHubNamespace : AzureEventHubsCmdletBase
26
27
ValueFromPipelineByPropertyName = true ,
27
28
Position = 0 ,
28
29
HelpMessage = "Resource Group Name." ) ]
30
+ [ ResourceGroupCompleter ]
29
31
[ ValidateNotNullOrEmpty ]
30
32
public string ResourceGroupName { get ; set ; }
31
33
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
using Microsoft . Azure . Commands . EventHub . Models ;
15
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
15
16
using Microsoft . Azure . Commands . ResourceManager . Common . Tags ;
16
17
using System . Collections ;
17
18
using System . Collections . Generic ;
@@ -35,6 +36,7 @@ public class SetAzureEventHubNamespace : AzureEventHubsCmdletBase
35
36
Position = 0 ,
36
37
HelpMessage = "Resource Group Name." ,
37
38
ParameterSetName = AutoInflateParameterSet ) ]
39
+ [ ResourceGroupCompleter ]
38
40
[ ValidateNotNullOrEmpty ]
39
41
public string ResourceGroupName { get ; set ; }
40
42
You can’t perform that action at this time.
0 commit comments