diff --git a/generated/Monitor/ActivityLogAlert.Autorest/Properties/AssemblyInfo.cs b/generated/Monitor/ActivityLogAlert.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..b27bed753bbc --- /dev/null +++ b/generated/Monitor/ActivityLogAlert.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 - ActivityLogAlert")] +[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/generated/Monitor/ActivityLogAlert.Autorest/generate-info.json b/generated/Monitor/ActivityLogAlert.Autorest/generate-info.json index 094946275bd7..ae546df56f8f 100644 --- a/generated/Monitor/ActivityLogAlert.Autorest/generate-info.json +++ b/generated/Monitor/ActivityLogAlert.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "84e197d8-48f1-467b-bdae-e7b8d0aa733a" + "generate_Id": "8b11ea6d-f253-44c4-8fa0-a99b6d6e2f72" } diff --git a/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_Get.cs b/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_Get.cs index 85f970f6bfa7..858f19f10363 100644 --- a/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_Get.cs +++ b/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_Get.cs @@ -13,6 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/activityLogAlerts/{activityLogAlertName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzActivityLogAlert_Get")] + [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Runtime.OutputBreakingChange("Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActivityLogAlertResource", "15.0.0", "7.0.0", "2025/11/03", DeprecatedOutputProperties=new string[] {"ActionGroup","ConditionAllOf","Scope"}, NewOutputProperties=new string[] {"ActionGroup","ConditionAllOf","Scope"}, ChangeDescription="The types of the properties ActionGroup, ConditionAllOf and Scope will be changed from single object or fixed array to 'List'.")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActivityLogAlertResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Description(@"Get an Activity Log Alert rule.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Generated] diff --git a/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_GetViaIdentity.cs b/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_GetViaIdentity.cs index 46f040c3c048..6d26f382301c 100644 --- a/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_GetViaIdentity.cs +++ b/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_GetViaIdentity.cs @@ -13,6 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/activityLogAlerts/{activityLogAlertName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzActivityLogAlert_GetViaIdentity")] + [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Runtime.OutputBreakingChange("Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActivityLogAlertResource", "15.0.0", "7.0.0", "2025/11/03", DeprecatedOutputProperties=new string[] {"ActionGroup","ConditionAllOf","Scope"}, NewOutputProperties=new string[] {"ActionGroup","ConditionAllOf","Scope"}, ChangeDescription="The types of the properties ActionGroup, ConditionAllOf and Scope will be changed from single object or fixed array to 'List'.")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActivityLogAlertResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Description(@"Get an Activity Log Alert rule.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Generated] diff --git a/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_List.cs b/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_List.cs index 3534f07b1b64..16e1ce0e9894 100644 --- a/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_List.cs +++ b/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_List.cs @@ -13,6 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Cmdlets /// [OpenAPI] ListBySubscriptionId=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.Insights/activityLogAlerts" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzActivityLogAlert_List")] + [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Runtime.OutputBreakingChange("Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActivityLogAlertResource", "15.0.0", "7.0.0", "2025/11/03", DeprecatedOutputProperties=new string[] {"ActionGroup","ConditionAllOf","Scope"}, NewOutputProperties=new string[] {"ActionGroup","ConditionAllOf","Scope"}, ChangeDescription="The types of the properties ActionGroup, ConditionAllOf and Scope will be changed from single object or fixed array to 'List'.")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActivityLogAlertResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Description(@"Get a list of all Activity Log Alert rules in a subscription.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Generated] diff --git a/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_List1.cs b/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_List1.cs index 5b0142361107..de8d0aa7f3c2 100644 --- a/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_List1.cs +++ b/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/GetAzActivityLogAlert_List1.cs @@ -13,6 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Cmdlets /// [OpenAPI] ListByResourceGroup=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/activityLogAlerts" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzActivityLogAlert_List1")] + [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Runtime.OutputBreakingChange("Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActivityLogAlertResource", "15.0.0", "7.0.0", "2025/11/03", DeprecatedOutputProperties=new string[] {"ActionGroup","ConditionAllOf","Scope"}, NewOutputProperties=new string[] {"ActionGroup","ConditionAllOf","Scope"}, ChangeDescription="The types of the properties ActionGroup, ConditionAllOf and Scope will be changed from single object or fixed array to 'List'.")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActivityLogAlertResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Description(@"Get a list of all Activity Log Alert rules in a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Generated] diff --git a/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/NewAzActivityLogAlert_CreateExpanded.cs b/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/NewAzActivityLogAlert_CreateExpanded.cs index b693c90a1621..ab3e5e54cefb 100644 --- a/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/NewAzActivityLogAlert_CreateExpanded.cs +++ b/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/NewAzActivityLogAlert_CreateExpanded.cs @@ -14,6 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzActivityLogAlert_CreateExpanded", SupportsShouldProcess = true)] + [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Runtime.OutputBreakingChange("Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActivityLogAlertResource", "15.0.0", "7.0.0", "2025/11/03", DeprecatedOutputProperties=new string[] {"ActionGroup","ConditionAllOf","Scope","AnyOf"}, NewOutputProperties=new string[] {"ActionGroup","ConditionAllOf","Scope","AnyOf"}, ChangeDescription="The types of the properties ActionGroup, ConditionAllOf, Scope and AnyOf will be changed from single object or fixed array to 'List'.")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActivityLogAlertResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Description(@"Create a new Activity Log Alert rule or update an existing one.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Generated] @@ -48,6 +49,7 @@ public partial class NewAzActivityLogAlert_CreateExpanded : global::System.Manag Description = @"The list of the Action Groups.", SerializedName = @"actionGroups", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActionGroup) })] + [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Runtime.ParameterBreakingChange("ActionGroup", "15.0.0", "7.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] public Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActionGroup[] Action { get => _activityLogAlertRuleBody.ActionGroup ?? null /* arrayOf */; set => _activityLogAlertRuleBody.ActionGroup = value; } /// Wait for .NET debugger to attach @@ -68,6 +70,7 @@ public partial class NewAzActivityLogAlert_CreateExpanded : global::System.Manag Description = @"The list of Activity Log Alert rule conditions.", SerializedName = @"allOf", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IAlertRuleAnyOfOrLeafCondition) })] + [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Runtime.ParameterBreakingChange("ConditionAllOf", "15.0.0", "7.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] public Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IAlertRuleAnyOfOrLeafCondition[] Condition { get => _activityLogAlertRuleBody.ConditionAllOf ?? null /* arrayOf */; set => _activityLogAlertRuleBody.ConditionAllOf = value; } /// @@ -205,6 +208,7 @@ public partial class NewAzActivityLogAlert_CreateExpanded : global::System.Manag Description = @"A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item.", SerializedName = @"scopes", PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Runtime.ParameterBreakingChange("Scope", "15.0.0", "7.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] public string[] Scope { get => _activityLogAlertRuleBody.Scope ?? null /* arrayOf */; set => _activityLogAlertRuleBody.Scope = value; } /// Backing field for property. diff --git a/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/UpdateAzActivityLogAlert_UpdateExpanded.cs b/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/UpdateAzActivityLogAlert_UpdateExpanded.cs index 1bec70551ba0..b7392cc3e1da 100644 --- a/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/UpdateAzActivityLogAlert_UpdateExpanded.cs +++ b/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/UpdateAzActivityLogAlert_UpdateExpanded.cs @@ -17,6 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzActivityLogAlert_UpdateExpanded", SupportsShouldProcess = true)] + [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Runtime.OutputBreakingChange("Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActivityLogAlertResource", "15.0.0", "7.0.0", "2025/11/03", DeprecatedOutputProperties=new string[] {"ActionGroup","ConditionAllOf","Scope","AnyOf"}, NewOutputProperties=new string[] {"ActionGroup","ConditionAllOf","Scope","AnyOf"}, ChangeDescription="The types of the properties ActionGroup, ConditionAllOf, Scope and AnyOf will be changed from single object or fixed array to 'List'.")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActivityLogAlertResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Description(@"Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Generated] diff --git a/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/UpdateAzActivityLogAlert_UpdateViaIdentityExpanded.cs b/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/UpdateAzActivityLogAlert_UpdateViaIdentityExpanded.cs index d0e5134f4ce5..d12a72ff5748 100644 --- a/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/UpdateAzActivityLogAlert_UpdateViaIdentityExpanded.cs +++ b/generated/Monitor/ActivityLogAlert.Autorest/generated/cmdlets/UpdateAzActivityLogAlert_UpdateViaIdentityExpanded.cs @@ -17,6 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzActivityLogAlert_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] + [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Runtime.OutputBreakingChange("Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActivityLogAlertResource", "15.0.0", "7.0.0", "2025/11/03", DeprecatedOutputProperties=new string[] {"ActionGroup","ConditionAllOf","Scope","AnyOf"}, NewOutputProperties=new string[] {"ActionGroup","ConditionAllOf","Scope","AnyOf"}, ChangeDescription="The types of the properties ActionGroup, ConditionAllOf, Scope and AnyOf will be changed from single object or fixed array to 'List'.")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.IActivityLogAlertResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Description(@"Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Generated]