File tree Expand file tree Collapse file tree 6 files changed +12
-0
lines changed
src/ResourceManager/KeyVault/Commands.KeyVault/Commands Expand file tree Collapse file tree 6 files changed +12
-0
lines changed 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 ;
16
17
using System . Collections ;
17
18
using System . Collections . Generic ;
@@ -69,6 +70,7 @@ public class GetAzureKeyVault : KeyVaultManagementCmdletBase
69
70
ParameterSetName = ListVaultsByRGParameterSet ,
70
71
ValueFromPipelineByPropertyName = true ,
71
72
HelpMessage = "Specifies the name of a resource group. This cmdlet gets key vault instances in the resource group that this parameter specifies." ) ]
73
+ [ ResourceGroupCompleter ]
72
74
[ ValidateNotNullOrEmpty ( ) ]
73
75
public string ResourceGroupName { get ; set ; }
74
76
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 Microsoft . Azure . Management . KeyVault . Models ;
16
17
using System ;
17
18
using System . Collections ;
@@ -51,6 +52,7 @@ public class NewAzureKeyVault : KeyVaultManagementCmdletBase
51
52
Position = 1 ,
52
53
ValueFromPipelineByPropertyName = true ,
53
54
HelpMessage = "Specifies the name of an existing resource group in which to create the key vault." ) ]
55
+ [ ResourceGroupCompleter ]
54
56
[ ValidateNotNullOrEmpty ( ) ]
55
57
public string ResourceGroupName { get ; set ; }
56
58
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 ;
16
17
using System . Globalization ;
17
18
using System . Management . Automation ;
@@ -52,6 +53,7 @@ public class RemoveAzureKeyVault : KeyVaultManagementCmdletBase
52
53
ParameterSetName = RemoveVaultParameterSet ,
53
54
ValueFromPipelineByPropertyName = true ,
54
55
HelpMessage = "Specifies the name of resource group for Azure key vault to remove." ) ]
56
+ [ ResourceGroupCompleter ]
55
57
[ ValidateNotNullOrEmpty ( ) ]
56
58
public string ResourceGroupName { get ; set ; }
57
59
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 ;
16
17
using System . Linq ;
17
18
using System . Management . Automation ;
@@ -55,6 +56,7 @@ public class RemoveAzureKeyVaultAccessPolicy : KeyVaultManagementCmdletBase
55
56
Position = 1 ,
56
57
ValueFromPipelineByPropertyName = true ,
57
58
HelpMessage = "Specifies the name of the resource group associated with the key vault whose permissions you want to remove." ) ]
59
+ [ ResourceGroupCompleter ]
58
60
[ ValidateNotNullOrEmpty ( ) ]
59
61
public string ResourceGroupName { get ; set ; }
60
62
Original file line number Diff line number Diff line change 21
21
using KeyPerms = Microsoft . Azure . Management . KeyVault . Models . KeyPermissions ;
22
22
using CertPerms = Microsoft . Azure . Management . KeyVault . Models . CertificatePermissions ;
23
23
using StoragePerms = Microsoft . Azure . Management . KeyVault . Models . StoragePermissions ;
24
+ using Microsoft . Azure . Commands . ResourceManager . Common . ArgumentCompleters ;
24
25
25
26
namespace Microsoft . Azure . Commands . KeyVault
26
27
{
@@ -116,6 +117,7 @@ public class SetAzureKeyVaultAccessPolicy : KeyVaultManagementCmdletBase
116
117
Position = 1 ,
117
118
ValueFromPipelineByPropertyName = true ,
118
119
HelpMessage = "Specifies the name of the resource group associated with the key vault whose access policy is being modified." ) ]
120
+ [ ResourceGroupCompleter ]
119
121
[ ValidateNotNullOrEmpty ( ) ]
120
122
public string ResourceGroupName { get ; set ; }
121
123
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 Microsoft . Azure . Management . KeyVault . Models ;
16
17
using System . Collections ;
17
18
using System . Management . Automation ;
@@ -44,6 +45,7 @@ public class UndoAzureKeyVaultRemoval : KeyVaultManagementCmdletBase
44
45
Position = 1 ,
45
46
ValueFromPipelineByPropertyName = true ,
46
47
HelpMessage = "Specifies the name of the deleted vault resource group." ) ]
48
+ [ ResourceGroupCompleter ]
47
49
[ ValidateNotNullOrEmpty ( ) ]
48
50
public string ResourceGroupName { get ; set ; }
49
51
You can’t perform that action at this time.
0 commit comments