Skip to content

Commit

Permalink
Add back missing parameter completion functionality (#25654)
Browse files Browse the repository at this point in the history
  • Loading branch information
mentat9 authored Jul 26, 2024
1 parent 727849f commit a666b85
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ param(
[Parameter(ValueFromPipelineByPropertyName)]
[ValidateNotNullOrEmpty()]
[ValidateSet('Default', 'DoNotEnforce')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.PSArgumentCompleterAttribute('Default', 'DoNotEnforce')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.Category('Body')]
[System.String]
# The policy assignment enforcement mode.
Expand All @@ -121,6 +122,7 @@ param(

[Parameter()]
[ValidateSet('None', 'SystemAssigned', 'UserAssigned')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.PSArgumentCompleterAttribute('None', 'SystemAssigned', 'UserAssigned')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.Category('Body')]
[System.String]
# The identity type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ param(

[Parameter(ValueFromPipelineByPropertyName)]
[ValidateSet('Default', 'DoNotValidate')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.PSArgumentCompleterAttribute('Default', 'DoNotValidate')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.Category('Body')]
[System.String]
# Whether to validate the exemption is at or under the assignment scope.
Expand All @@ -71,6 +72,7 @@ param(

[Parameter(ParameterSetName='Default', Mandatory, ValueFromPipelineByPropertyName)]
[ValidateSet('Waiver', 'Mitigated')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.PSArgumentCompleterAttribute('Waiver', 'Mitigated')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.Category('Path')]
[System.String]
# The policy exemption category
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ param(
[Parameter(ValueFromPipelineByPropertyName)]
[ValidateNotNullOrEmpty()]
[ValidateSet('Default', 'DoNotEnforce')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.PSArgumentCompleterAttribute('Default', 'DoNotEnforce')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.Category('Body')]
[System.String]
# The policy assignment enforcement mode.
Expand All @@ -132,6 +133,7 @@ param(

[Parameter()]
[ValidateSet('None', 'SystemAssigned', 'UserAssigned')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.PSArgumentCompleterAttribute('None', 'SystemAssigned', 'UserAssigned')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.Category('Body')]
[System.String]
# The identity type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ param(

[Parameter(ValueFromPipelineByPropertyName)]
[ValidateSet('Waiver', 'Mitigated')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.PSArgumentCompleterAttribute('Waiver', 'Mitigated')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.Category('Path')]
[System.String]
# The policy exemption category
Expand Down Expand Up @@ -115,6 +116,7 @@ param(

[Parameter()]
[ValidateSet('Default', 'DoNotValidate')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.PSArgumentCompleterAttribute('Default', 'DoNotValidate')]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.Category('Body')]
[System.String]
# The option whether validate the exemption is at or under the assignment scope.
Expand Down

0 comments on commit a666b85

Please sign in to comment.