diff --git a/src/FrontDoor/FrontDoor.Autorest/Properties/AssemblyInfo.cs b/src/FrontDoor/FrontDoor.Autorest/Properties/AssemblyInfo.cs index 1fb38eb854b8..7ba6756c5c26 100644 --- a/src/FrontDoor/FrontDoor.Autorest/Properties/AssemblyInfo.cs +++ b/src/FrontDoor/FrontDoor.Autorest/Properties/AssemblyInfo.cs @@ -20,7 +20,7 @@ [assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] [assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] [assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - FrontDoor")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.13.1")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.13.1")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("2.0.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("2.0.0")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] diff --git a/src/FrontDoor/FrontDoor.Autorest/custom/New-AzFrontDoorWafManagedRuleOverrideObject.ps1 b/src/FrontDoor/FrontDoor.Autorest/custom/New-AzFrontDoorWafManagedRuleOverrideObject.ps1 index 1465085f8f5a..51f3f1e95a29 100644 --- a/src/FrontDoor/FrontDoor.Autorest/custom/New-AzFrontDoorWafManagedRuleOverrideObject.ps1 +++ b/src/FrontDoor/FrontDoor.Autorest/custom/New-AzFrontDoorWafManagedRuleOverrideObject.ps1 @@ -44,7 +44,11 @@ function New-AzFrontDoorWafManagedRuleOverrideObject { $Exclusion, [Parameter(Mandatory, HelpMessage="Identifier for the managed rule.")] [string] - $RuleId + $RuleId, + [Parameter(HelpMessage="Describes the override sensitivity to be applied when rule matches.")] + [Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.PSArgumentCompleterAttribute("Low", "Medium", "High")] + [string] + $Sensitivity ) process { @@ -62,6 +66,9 @@ function New-AzFrontDoorWafManagedRuleOverrideObject { if ($PSBoundParameters.ContainsKey('RuleId')) { $Object.RuleId = $RuleId } + if ($PSBoundParameters.ContainsKey('Sensitivity')) { + $Object.Sensitivity = $Sensitivity + } return $Object } } diff --git a/src/FrontDoor/FrontDoor.Autorest/docs/Az.FrontDoor.md b/src/FrontDoor/FrontDoor.Autorest/docs/Az.FrontDoor.md index 4ce76a4b77e0..8f9526d0415f 100644 --- a/src/FrontDoor/FrontDoor.Autorest/docs/Az.FrontDoor.md +++ b/src/FrontDoor/FrontDoor.Autorest/docs/Az.FrontDoor.md @@ -1,6 +1,6 @@ --- Module Name: Az.FrontDoor -Module Guid: de841666-09d0-4c1e-a6ad-b3112699a6c2 +Module Guid: da373e2c-9a59-49f0-ab41-9d25ef4d1519 Download Help Link: https://learn.microsoft.com/powershell/module/az.frontdoor Help Version: 1.0.0.0 Locale: en-US diff --git a/src/FrontDoor/FrontDoor.Autorest/docs/New-AzFrontDoorWafManagedRuleOverrideObject.md b/src/FrontDoor/FrontDoor.Autorest/docs/New-AzFrontDoorWafManagedRuleOverrideObject.md index d787b21cbd3e..f439ff85b4aa 100644 --- a/src/FrontDoor/FrontDoor.Autorest/docs/New-AzFrontDoorWafManagedRuleOverrideObject.md +++ b/src/FrontDoor/FrontDoor.Autorest/docs/New-AzFrontDoorWafManagedRuleOverrideObject.md @@ -14,7 +14,7 @@ Create an in-memory object for ManagedRuleOverride. ``` New-AzFrontDoorWafManagedRuleOverrideObject -RuleId [-Action ] [-Disabled] - [-Exclusion ] [] + [-Exclusion ] [-Sensitivity ] [] ``` ## DESCRIPTION @@ -98,6 +98,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Sensitivity +Describes the override sensitivity to be applied when rule matches. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/FrontDoor/FrontDoor.Autorest/generate-info.json b/src/FrontDoor/FrontDoor.Autorest/generate-info.json index 3f64ee42209d..836cb5fd686b 100644 --- a/src/FrontDoor/FrontDoor.Autorest/generate-info.json +++ b/src/FrontDoor/FrontDoor.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "d1340c55-8f29-452b-8617-778ef1c3ce8d" + "generate_Id": "b5700a14-fde3-4f4d-be68-df4d05d0b5ff" } diff --git a/src/FrontDoor/FrontDoor.sln b/src/FrontDoor/FrontDoor.sln index 99ed6129d717..4dab194d8e28 100644 --- a/src/FrontDoor/FrontDoor.sln +++ b/src/FrontDoor/FrontDoor.sln @@ -23,7 +23,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFx", "..\..\tools\TestF EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "FrontDoor.Autorest", "FrontDoor.Autorest", "{CCB5835C-B2B2-6D15-3546-15EE6FE0A6E7}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.FrontDoor", "..\..\generated\FrontDoor\FrontDoor.Autorest\Az.FrontDoor.csproj", "{B0D8665E-838F-41FB-AC8D-FD727F5F0E27}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.FrontDoor", "..\..\generated\FrontDoor\FrontDoor.Autorest\Az.FrontDoor.csproj", "{7DCFDFCA-7CA9-4C1D-9A16-CD86A3E86628}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -131,18 +131,18 @@ Global {CEE04FC4-EA9E-49F5-8E65-1BF927763971}.Release|x64.Build.0 = Release|Any CPU {CEE04FC4-EA9E-49F5-8E65-1BF927763971}.Release|x86.ActiveCfg = Release|Any CPU {CEE04FC4-EA9E-49F5-8E65-1BF927763971}.Release|x86.Build.0 = Release|Any CPU - {B0D8665E-838F-41FB-AC8D-FD727F5F0E27}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B0D8665E-838F-41FB-AC8D-FD727F5F0E27}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B0D8665E-838F-41FB-AC8D-FD727F5F0E27}.Debug|x64.ActiveCfg = Debug|Any CPU - {B0D8665E-838F-41FB-AC8D-FD727F5F0E27}.Debug|x64.Build.0 = Debug|Any CPU - {B0D8665E-838F-41FB-AC8D-FD727F5F0E27}.Debug|x86.ActiveCfg = Debug|Any CPU - {B0D8665E-838F-41FB-AC8D-FD727F5F0E27}.Debug|x86.Build.0 = Debug|Any CPU - {B0D8665E-838F-41FB-AC8D-FD727F5F0E27}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B0D8665E-838F-41FB-AC8D-FD727F5F0E27}.Release|Any CPU.Build.0 = Release|Any CPU - {B0D8665E-838F-41FB-AC8D-FD727F5F0E27}.Release|x64.ActiveCfg = Release|Any CPU - {B0D8665E-838F-41FB-AC8D-FD727F5F0E27}.Release|x64.Build.0 = Release|Any CPU - {B0D8665E-838F-41FB-AC8D-FD727F5F0E27}.Release|x86.ActiveCfg = Release|Any CPU - {B0D8665E-838F-41FB-AC8D-FD727F5F0E27}.Release|x86.Build.0 = Release|Any CPU + {7DCFDFCA-7CA9-4C1D-9A16-CD86A3E86628}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7DCFDFCA-7CA9-4C1D-9A16-CD86A3E86628}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7DCFDFCA-7CA9-4C1D-9A16-CD86A3E86628}.Debug|x64.ActiveCfg = Debug|Any CPU + {7DCFDFCA-7CA9-4C1D-9A16-CD86A3E86628}.Debug|x64.Build.0 = Debug|Any CPU + {7DCFDFCA-7CA9-4C1D-9A16-CD86A3E86628}.Debug|x86.ActiveCfg = Debug|Any CPU + {7DCFDFCA-7CA9-4C1D-9A16-CD86A3E86628}.Debug|x86.Build.0 = Debug|Any CPU + {7DCFDFCA-7CA9-4C1D-9A16-CD86A3E86628}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7DCFDFCA-7CA9-4C1D-9A16-CD86A3E86628}.Release|Any CPU.Build.0 = Release|Any CPU + {7DCFDFCA-7CA9-4C1D-9A16-CD86A3E86628}.Release|x64.ActiveCfg = Release|Any CPU + {7DCFDFCA-7CA9-4C1D-9A16-CD86A3E86628}.Release|x64.Build.0 = Release|Any CPU + {7DCFDFCA-7CA9-4C1D-9A16-CD86A3E86628}.Release|x86.ActiveCfg = Release|Any CPU + {7DCFDFCA-7CA9-4C1D-9A16-CD86A3E86628}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -154,7 +154,7 @@ Global {4A06E6FB-D5E9-48DF-9BFB-867FE814F47E} = {52103A11-029D-492B-87C7-22D39EF55958} {671E6476-CDED-43A3-AB46-1338DAB61409} = {52103A11-029D-492B-87C7-22D39EF55958} {31599FB7-7929-4E92-834F-A23C603A9116} = {52103A11-029D-492B-87C7-22D39EF55958} - {B0D8665E-838F-41FB-AC8D-FD727F5F0E27} = {CCB5835C-B2B2-6D15-3546-15EE6FE0A6E7} + {7DCFDFCA-7CA9-4C1D-9A16-CD86A3E86628} = {CCB5835C-B2B2-6D15-3546-15EE6FE0A6E7} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {8030889A-062F-4BCC-8246-EC5BCEDCAF25} diff --git a/src/FrontDoor/FrontDoor/Az.FrontDoor.psd1 b/src/FrontDoor/FrontDoor/Az.FrontDoor.psd1 index 72585feb315d..5f0c1f363af3 100644 --- a/src/FrontDoor/FrontDoor/Az.FrontDoor.psd1 +++ b/src/FrontDoor/FrontDoor/Az.FrontDoor.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 11/11/2025 +# Generated on: 2025/12/16 # @{ @@ -59,10 +59,10 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.3.1'; }) RequiredAssemblies = 'FrontDoor.Autorest/bin/Az.FrontDoor.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module FormatsToProcess = 'FrontDoor.Autorest/Az.FrontDoor.format.ps1xml' @@ -129,7 +129,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','FrontDoor' + Tags = 'Azure', 'ResourceManager', 'ARM', 'FrontDoor' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -156,7 +156,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/FrontDoor/FrontDoor/ChangeLog.md b/src/FrontDoor/FrontDoor/ChangeLog.md index aa7904b9aeaf..a14bdca51586 100644 --- a/src/FrontDoor/FrontDoor/ChangeLog.md +++ b/src/FrontDoor/FrontDoor/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Fixed New-AzFrontDoorWafManagedRuleOverrideObject issue. ## Version 2.0.0 * Bumped swagger version to 2025-10-01 diff --git a/src/FrontDoor/FrontDoor/help/New-AzFrontDoorWafManagedRuleOverrideObject.md b/src/FrontDoor/FrontDoor/help/New-AzFrontDoorWafManagedRuleOverrideObject.md index 26ced99da72f..543fa3598b48 100644 --- a/src/FrontDoor/FrontDoor/help/New-AzFrontDoorWafManagedRuleOverrideObject.md +++ b/src/FrontDoor/FrontDoor/help/New-AzFrontDoorWafManagedRuleOverrideObject.md @@ -14,7 +14,8 @@ Create an in-memory object for ManagedRuleOverride. ``` New-AzFrontDoorWafManagedRuleOverrideObject -RuleId [-Action ] [-Disabled] - [-Exclusion ] [] + [-Exclusion ] [-Sensitivity ] + [] ``` ## DESCRIPTION @@ -98,6 +99,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Sensitivity +Describes the override sensitivity to be applied when rule matches. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).