diff --git a/src/Monitor/Monitor.sln b/src/Monitor/Monitor.sln index 9fdbcc2f82e4..d43fcb5ea1c7 100644 --- a/src/Monitor/Monitor.sln +++ b/src/Monitor/Monitor.sln @@ -41,8 +41,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.MonitorWorkspace", "..\. EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.PipelineGroup", "..\..\generated\Monitor\PipelineGroup.Autorest\Az.PipelineGroup.csproj", "{BBB1BE4E-4595-4589-AB2B-14BCFF7EB65C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ScheduledQueryRule", "..\..\generated\Monitor\ScheduledQueryRule.Autorest\Az.ScheduledQueryRule.csproj", "{7CDB5277-30F0-4C26-97D9-DD08A11AA3B2}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ApplicationInsights", "..\..\generated\ApplicationInsights\ApplicationInsights.Autorest\Az.ApplicationInsights.csproj", "{988AD78A-B61E-4D34-968B-05A014140ACF}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "DataCollectionRule.Autorest", "DataCollectionRule.Autorest", "{35E5CBAF-5596-AC3C-3DBD-816FC74B54D0}" @@ -69,6 +67,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MonitorWorkspace.Autorest", EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.MonitorWorkspace", "..\..\generated\Monitor\MonitorWorkspace.Autorest\Az.MonitorWorkspace.csproj", "{3BDF8EC5-1C35-4425-AB3C-6EF677F618E2}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ScheduledQueryRule.Autorest", "ScheduledQueryRule.Autorest", "{DFE9A16E-4879-AFA3-BD8B-DBC73F42D0CA}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ScheduledQueryRule", "..\..\generated\Monitor\ScheduledQueryRule.Autorest\Az.ScheduledQueryRule.csproj", "{A3CBC4A9-A39C-4343-99F2-F3F53F20049B}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -271,18 +273,6 @@ Global {BBB1BE4E-4595-4589-AB2B-14BCFF7EB65C}.Release|x64.Build.0 = Release|Any CPU {BBB1BE4E-4595-4589-AB2B-14BCFF7EB65C}.Release|x86.ActiveCfg = Release|Any CPU {BBB1BE4E-4595-4589-AB2B-14BCFF7EB65C}.Release|x86.Build.0 = Release|Any CPU - {7CDB5277-30F0-4C26-97D9-DD08A11AA3B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7CDB5277-30F0-4C26-97D9-DD08A11AA3B2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7CDB5277-30F0-4C26-97D9-DD08A11AA3B2}.Debug|x64.ActiveCfg = Debug|Any CPU - {7CDB5277-30F0-4C26-97D9-DD08A11AA3B2}.Debug|x64.Build.0 = Debug|Any CPU - {7CDB5277-30F0-4C26-97D9-DD08A11AA3B2}.Debug|x86.ActiveCfg = Debug|Any CPU - {7CDB5277-30F0-4C26-97D9-DD08A11AA3B2}.Debug|x86.Build.0 = Debug|Any CPU - {7CDB5277-30F0-4C26-97D9-DD08A11AA3B2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7CDB5277-30F0-4C26-97D9-DD08A11AA3B2}.Release|Any CPU.Build.0 = Release|Any CPU - {7CDB5277-30F0-4C26-97D9-DD08A11AA3B2}.Release|x64.ActiveCfg = Release|Any CPU - {7CDB5277-30F0-4C26-97D9-DD08A11AA3B2}.Release|x64.Build.0 = Release|Any CPU - {7CDB5277-30F0-4C26-97D9-DD08A11AA3B2}.Release|x86.ActiveCfg = Release|Any CPU - {7CDB5277-30F0-4C26-97D9-DD08A11AA3B2}.Release|x86.Build.0 = Release|Any CPU {988AD78A-B61E-4D34-968B-05A014140ACF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {988AD78A-B61E-4D34-968B-05A014140ACF}.Debug|Any CPU.Build.0 = Debug|Any CPU {988AD78A-B61E-4D34-968B-05A014140ACF}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -367,6 +357,18 @@ Global {0D41ADE3-ABBA-445B-8990-EA015AD4203D}.Release|x64.Build.0 = Release|Any CPU {0D41ADE3-ABBA-445B-8990-EA015AD4203D}.Release|x86.ActiveCfg = Release|Any CPU {0D41ADE3-ABBA-445B-8990-EA015AD4203D}.Release|x86.Build.0 = Release|Any CPU + {A3CBC4A9-A39C-4343-99F2-F3F53F20049B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A3CBC4A9-A39C-4343-99F2-F3F53F20049B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A3CBC4A9-A39C-4343-99F2-F3F53F20049B}.Debug|x64.ActiveCfg = Debug|Any CPU + {A3CBC4A9-A39C-4343-99F2-F3F53F20049B}.Debug|x64.Build.0 = Debug|Any CPU + {A3CBC4A9-A39C-4343-99F2-F3F53F20049B}.Debug|x86.ActiveCfg = Debug|Any CPU + {A3CBC4A9-A39C-4343-99F2-F3F53F20049B}.Debug|x86.Build.0 = Debug|Any CPU + {A3CBC4A9-A39C-4343-99F2-F3F53F20049B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A3CBC4A9-A39C-4343-99F2-F3F53F20049B}.Release|Any CPU.Build.0 = Release|Any CPU + {A3CBC4A9-A39C-4343-99F2-F3F53F20049B}.Release|x64.ActiveCfg = Release|Any CPU + {A3CBC4A9-A39C-4343-99F2-F3F53F20049B}.Release|x64.Build.0 = Release|Any CPU + {A3CBC4A9-A39C-4343-99F2-F3F53F20049B}.Release|x86.ActiveCfg = Release|Any CPU + {A3CBC4A9-A39C-4343-99F2-F3F53F20049B}.Release|x86.Build.0 = Release|Any CPU {3BDF8EC5-1C35-4425-AB3C-6EF677F618E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {3BDF8EC5-1C35-4425-AB3C-6EF677F618E2}.Debug|Any CPU.Build.0 = Debug|Any CPU {3BDF8EC5-1C35-4425-AB3C-6EF677F618E2}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -411,6 +413,8 @@ Global {0636EEB2-FE81-4424-8CFC-CCEB25360A40} = {3F76A15C-B128-4A31-A887-05E303CF8D7F} {138B61C0-9D0E-44A1-9EA1-E8142303ECA5} = {35E5CBAF-5596-AC3C-3DBD-816FC74B54D0} {0A51A656-9092-4C82-83B5-524516C8FED7} = {97973F8C-3EE1-368A-3B71-C62280C2DC8C} + {0D41ADE3-ABBA-445B-8990-EA015AD4203D} = {F5B68159-9278-7C75-41B6-315547561DBE} + {A3CBC4A9-A39C-4343-99F2-F3F53F20049B} = {DFE9A16E-4879-AFA3-BD8B-DBC73F42D0CA} {81F263BA-D395-42CB-A7E0-AFC20029C4BC} = {F5B68159-9278-7C75-41B6-315547561DBE} {88085FD3-B4EE-4AC4-94B7-D1D2A9A18033} = {4644B825-05AB-0B45-5567-89C0D700A638} {A55047D2-EBBB-4C25-BD5E-52FEF9E5C627} = {0832AC06-44A1-FEDA-3879-082134F4AAB5} diff --git a/src/Monitor/Monitor/ChangeLog.md b/src/Monitor/Monitor/ChangeLog.md index d9b061b1a012..8b1f9ba06d65 100644 --- a/src/Monitor/Monitor/ChangeLog.md +++ b/src/Monitor/Monitor/ChangeLog.md @@ -25,14 +25,6 @@ - `Update-AzActivityLogAlert` - `New-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject` - `New-AzActivityLogAlertAlertRuleLeafConditionObject` - - `Get-AzMonitorWorkspace` - - `New-AzMonitorWorkspace` - - `Update-AzMonitorWorkspace` - - `New-AzDiagnosticSetting` - - `New-AzSubscriptionDiagnosticSetting` - - `Get-AzDiagnosticSetting` - - `Get-AzDiagnosticSettingCategory` - - `Get-AzSubscriptionDiagnosticSetting` - `Get-AzAutoscalePredictiveMetric` - `Get-AzAutoscaleSetting` - `New-AzAutoscaleNotificationObject` @@ -41,6 +33,19 @@ - `New-AzAutoscaleScaleRuleObject` - `New-AzAutoscaleSetting` - `Update-AzAutoscaleSetting` + - `Get-AzMonitorWorkspace` + - `New-AzMonitorWorkspace` + - `Update-AzMonitorWorkspace` + - `New-AzDiagnosticSetting` + - `New-AzSubscriptionDiagnosticSetting` + - `Get-AzDiagnosticSetting` + - `Get-AzDiagnosticSettingCategory` + - `Get-AzSubscriptionDiagnosticSetting` + - `Get-AzScheduledQueryRule` + - `New-AzScheduledQueryRule` + - `New-AzScheduledQueryRuleConditionObject` + - `New-AzScheduledQueryRuleDimensionObject` + - `Update-AzScheduledQueryRule` ## Version 6.0.2 * Pipeline Group upgraded API version to 2024-10-01-preview diff --git a/src/Monitor/ScheduledQueryRule.Autorest/Properties/AssemblyInfo.cs b/src/Monitor/ScheduledQueryRule.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..405a916b491b --- /dev/null +++ b/src/Monitor/ScheduledQueryRule.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the Apache License, Version 2.0 (the ""License""); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an ""AS IS"" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +// is regenerated. + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] +[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] +[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - ScheduledQueryRule")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("6.0.2")] +[assembly: System.Reflection.AssemblyVersionAttribute("6.0.2")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] diff --git a/src/Monitor/ScheduledQueryRule.Autorest/README.md b/src/Monitor/ScheduledQueryRule.Autorest/README.md index 2ec0915b002e..55f355306759 100644 --- a/src/Monitor/ScheduledQueryRule.Autorest/README.md +++ b/src/Monitor/ScheduledQueryRule.Autorest/README.md @@ -88,7 +88,35 @@ directive: - from: source-file-csharp where: $ transform: $ = $.replace('public static Microsoft.Azure.PowerShell.Cmdlets.Monitor.ScheduledQueryRule.Support.ConditionOperator Equals = @"Equals";', 'public static Microsoft.Azure.PowerShell.Cmdlets.Monitor.ScheduledQueryRule.Support.ConditionOperator Equal = @"Equals";'); - - model-cmdlet: - - Condition - - Dimension + # - model-cmdlet: + # - Condition + # - Dimension + - where: + verb: Get|Update|New + subject: ScheduledQueryRule + set: + breaking-change: + deprecated-output-properties: + - ActionGroup + - CriterionAllOf + - Scope + - TargetResourceType + new-output-properties: + - ActionGroup + - CriterionAllOf + - Scope + - TargetResourceType + change-description: The types of the properties ActionGroup, CriterionAllOf, Scope and TargetResourceType will be changed from single object or fixed array to 'List'. + deprecated-by-version: 7.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 + - where: + parameter-name: Dimension|Value + set: + breaking-change: + old-parameter-type: Array + new-parameter-type: List + deprecated-by-version: 7.0.0 + deprecated-by-azversion: 15.0.0 + change-effective-date: 2025/11/03 ``` diff --git a/src/Monitor/ScheduledQueryRule.Autorest/custom/autogen-model-cmdlets/New-AzScheduledQueryRuleConditionObject.ps1 b/src/Monitor/ScheduledQueryRule.Autorest/custom/New-AzScheduledQueryRuleConditionObject.ps1 similarity index 96% rename from src/Monitor/ScheduledQueryRule.Autorest/custom/autogen-model-cmdlets/New-AzScheduledQueryRuleConditionObject.ps1 rename to src/Monitor/ScheduledQueryRule.Autorest/custom/New-AzScheduledQueryRuleConditionObject.ps1 index a1fa02943b2b..cb57d7429a3c 100644 --- a/src/Monitor/ScheduledQueryRule.Autorest/custom/autogen-model-cmdlets/New-AzScheduledQueryRuleConditionObject.ps1 +++ b/src/Monitor/ScheduledQueryRule.Autorest/custom/New-AzScheduledQueryRuleConditionObject.ps1 @@ -29,7 +29,7 @@ function New-AzScheduledQueryRuleConditionObject { [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Monitor.ScheduledQueryRule.Models.Api20210801.Condition')] [CmdletBinding(PositionalBinding=$false)] Param( - + [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ScheduledQueryRule.Runtime.ParameterBreakingChange("Dimension", "15.0.0", "7.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Parameter(HelpMessage="List of Dimensions conditions.")] [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ScheduledQueryRule.Models.Api20210801.IDimension[]] $Dimension, diff --git a/src/Monitor/ScheduledQueryRule.Autorest/custom/autogen-model-cmdlets/New-AzScheduledQueryRuleDimensionObject.ps1 b/src/Monitor/ScheduledQueryRule.Autorest/custom/New-AzScheduledQueryRuleDimensionObject.ps1 similarity index 92% rename from src/Monitor/ScheduledQueryRule.Autorest/custom/autogen-model-cmdlets/New-AzScheduledQueryRuleDimensionObject.ps1 rename to src/Monitor/ScheduledQueryRule.Autorest/custom/New-AzScheduledQueryRuleDimensionObject.ps1 index b1dd288c9658..2721bc4b1cf7 100644 --- a/src/Monitor/ScheduledQueryRule.Autorest/custom/autogen-model-cmdlets/New-AzScheduledQueryRuleDimensionObject.ps1 +++ b/src/Monitor/ScheduledQueryRule.Autorest/custom/New-AzScheduledQueryRuleDimensionObject.ps1 @@ -37,6 +37,7 @@ function New-AzScheduledQueryRuleDimensionObject { [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Monitor.ScheduledQueryRule.Support.DimensionOperator])] [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ScheduledQueryRule.Support.DimensionOperator] $Operator, + [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ScheduledQueryRule.Runtime.ParameterBreakingChange("Value", "15.0.0", "7.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Parameter(Mandatory, HelpMessage="List of dimension values.")] [string[]] $Value diff --git a/src/Monitor/ScheduledQueryRule.Autorest/docs/Az.ScheduledQueryRule.md b/src/Monitor/ScheduledQueryRule.Autorest/docs/Az.ScheduledQueryRule.md index 6dda22c7b762..b9c8e4708234 100644 --- a/src/Monitor/ScheduledQueryRule.Autorest/docs/Az.ScheduledQueryRule.md +++ b/src/Monitor/ScheduledQueryRule.Autorest/docs/Az.ScheduledQueryRule.md @@ -1,6 +1,6 @@ --- Module Name: Az.ScheduledQueryRule -Module Guid: 5d68afef-2016-4216-9fb2-5e000f70d2be +Module Guid: 806a79ac-f0d4-4c15-92e5-3b6fc73a71cd Download Help Link: https://learn.microsoft.com/powershell/module/az.scheduledqueryrule Help Version: 1.0.0.0 Locale: en-US diff --git a/src/Monitor/ScheduledQueryRule.Autorest/generate-info.json b/src/Monitor/ScheduledQueryRule.Autorest/generate-info.json index 3b1a786c1956..3509c94e05e0 100644 --- a/src/Monitor/ScheduledQueryRule.Autorest/generate-info.json +++ b/src/Monitor/ScheduledQueryRule.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "af0c64e6-c8aa-4f64-a475-c7245b1aa47c" + "generate_Id": "53f643da-e033-4998-94da-05be732ad29b" } diff --git a/src/Monitor/ScheduledQueryRule.Autorest/resources/README.md b/src/Monitor/ScheduledQueryRule.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/Monitor/ScheduledQueryRule.Autorest/resources/README.md @@ -0,0 +1,11 @@ +# Resources +This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. + +## Info +- Modifiable: yes +- Generated: no +- Committed: yes +- Packaged: no + +## Purpose +Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact. \ No newline at end of file