diff --git a/src/Monitor/ActionGroup.Autorest/build-module.ps1 b/src/Monitor/ActionGroup.Autorest/build-module.ps1
index 9d47ce2ef467..e7ff97b7d32e 100644
--- a/src/Monitor/ActionGroup.Autorest/build-module.ps1
+++ b/src/Monitor/ActionGroup.Autorest/build-module.ps1
@@ -12,7 +12,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
# is regenerated.
# ----------------------------------------------------------------------------------
-param([switch]$NotIsolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs, [switch]$UX)
+param([switch]$NotIsolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs, [switch]$UX, [Switch]$DisableAfterBuildTasks)
$ErrorActionPreference = 'Stop'
if($PSEdition -ne 'Core') {
@@ -177,4 +177,14 @@ if (Test-Path (Join-Path $PSScriptRoot 'generate-portal-ux.ps1'))
. (Join-Path $PSScriptRoot 'generate-portal-ux.ps1')
}
+if (-not $DisableAfterBuildTasks){
+ $afterBuildTasksPath = Join-Path $PSScriptRoot ''
+ $afterBuildTasksArgs = ConvertFrom-Json 'true' -AsHashtable
+ if(Test-Path -Path $afterBuildTasksPath -PathType leaf){
+ Write-Host -ForegroundColor Green 'Running after build tasks...'
+ . $afterBuildTasksPath @afterBuildTasksArgs
+ }
+}
+
+
Write-Host -ForegroundColor Green '-------------Done-------------'
diff --git a/src/Monitor/ActionGroup.Autorest/examples/New-AzActionGroupLogicAppReceiverObject.md b/src/Monitor/ActionGroup.Autorest/examples/New-AzActionGroupLogicAppReceiverObject.md
index b71864588ed4..4bee1d839dfe 100644
--- a/src/Monitor/ActionGroup.Autorest/examples/New-AzActionGroupLogicAppReceiverObject.md
+++ b/src/Monitor/ActionGroup.Autorest/examples/New-AzActionGroupLogicAppReceiverObject.md
@@ -1,12 +1,12 @@
### Example 1: create action group logic app receiver
```powershell
-New-AzActionGroupLogicAppReceiverObject -CallbackUrl "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" -Name "sample logic app" -ResourceId "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp"
+New-AzActionGroupLogicAppReceiverObject -CallbackUrl "https://p*****7w" -Name "sample logic app" -ResourceId "/subscriptions/{subId}/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp"
```
```output
-CallbackUrl Name ResourceId
------------ ---- ----------
-https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w sample logic app /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/provid…
+CallbackUrl Name ResourceId
+----------- ---- ----------
+https://p*****7w sample logic app /subscriptions/{subId}/resourceGroups/LogicApp/provid…
```
This command creates action group logic app receiver object.
diff --git a/src/Monitor/ActionGroup.Autorest/exports/New-AzActionGroup.ps1 b/src/Monitor/ActionGroup.Autorest/exports/New-AzActionGroup.ps1
index 17d07520137e..91f2e6b0768d 100644
--- a/src/Monitor/ActionGroup.Autorest/exports/New-AzActionGroup.ps1
+++ b/src/Monitor/ActionGroup.Autorest/exports/New-AzActionGroup.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-Create a new action group or Create an existing one.
+Create a new action group or update an existing one.
.Description
-Create a new action group or Create an existing one.
+Create a new action group or update an existing one.
.Example
$email1 = New-AzActionGroupEmailReceiverObject -EmailAddress user@example.com -Name user1
$sms1 = New-AzActionGroupSmsReceiverObject -CountryCode '{countrycode}' -Name user2 -PhoneNumber '{phonenumber}'
diff --git a/src/Monitor/ActionGroup.Autorest/exports/New-AzActionGroupLogicAppReceiverObject.ps1 b/src/Monitor/ActionGroup.Autorest/exports/New-AzActionGroupLogicAppReceiverObject.ps1
index 7a270d137493..a55c0106eb31 100644
--- a/src/Monitor/ActionGroup.Autorest/exports/New-AzActionGroupLogicAppReceiverObject.ps1
+++ b/src/Monitor/ActionGroup.Autorest/exports/New-AzActionGroupLogicAppReceiverObject.ps1
@@ -20,7 +20,7 @@ Create an in-memory object for LogicAppReceiver.
.Description
Create an in-memory object for LogicAppReceiver.
.Example
-New-AzActionGroupLogicAppReceiverObject -CallbackUrl "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" -Name "sample logic app" -ResourceId "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp"
+New-AzActionGroupLogicAppReceiverObject -CallbackUrl "https://p*****7w" -Name "sample logic app" -ResourceId "/subscriptions/{subId}/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp"
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.LogicAppReceiver
diff --git a/src/Monitor/ActionGroup.Autorest/exports/ProxyCmdletDefinitions.ps1 b/src/Monitor/ActionGroup.Autorest/exports/ProxyCmdletDefinitions.ps1
index 213fb5339316..0b1033432806 100644
--- a/src/Monitor/ActionGroup.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/src/Monitor/ActionGroup.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -447,9 +447,9 @@ end {
<#
.Synopsis
-Create a new action group or Create an existing one.
+Create a new action group or update an existing one.
.Description
-Create a new action group or Create an existing one.
+Create a new action group or update an existing one.
.Example
$email1 = New-AzActionGroupEmailReceiverObject -EmailAddress user@example.com -Name user1
$sms1 = New-AzActionGroupSmsReceiverObject -CountryCode '{countrycode}' -Name user2 -PhoneNumber '{phonenumber}'
@@ -1056,9 +1056,9 @@ end {
<#
.Synopsis
-Update a new action group or Update an existing one.
+Update a new action group or update an existing one.
.Description
-Update a new action group or Update an existing one.
+Update a new action group or update an existing one.
.Example
$enventhub = New-AzActionGroupEventHubReceiverObject -EventHubName "testEventHub" -EventHubNameSpace "actiongrouptest" -Name "sample eventhub" -SubscriptionId '{subid}'
Update-AzActionGroup -Name actiongroup1 -ResourceGroupName monitor-action -EventHubReceiver $enventhub
@@ -2296,7 +2296,7 @@ Create an in-memory object for LogicAppReceiver.
.Description
Create an in-memory object for LogicAppReceiver.
.Example
-New-AzActionGroupLogicAppReceiverObject -CallbackUrl "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w" -Name "sample logic app" -ResourceId "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp"
+New-AzActionGroupLogicAppReceiverObject -CallbackUrl "https://p*****7w" -Name "sample logic app" -ResourceId "/subscriptions/{subId}/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp"
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.LogicAppReceiver
diff --git a/src/Monitor/ActionGroup.Autorest/exports/Update-AzActionGroup.ps1 b/src/Monitor/ActionGroup.Autorest/exports/Update-AzActionGroup.ps1
index e44e34ea2f13..18e8a3611ee3 100644
--- a/src/Monitor/ActionGroup.Autorest/exports/Update-AzActionGroup.ps1
+++ b/src/Monitor/ActionGroup.Autorest/exports/Update-AzActionGroup.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-Update a new action group or Update an existing one.
+Update a new action group or update an existing one.
.Description
-Update a new action group or Update an existing one.
+Update a new action group or update an existing one.
.Example
$enventhub = New-AzActionGroupEventHubReceiverObject -EventHubName "testEventHub" -EventHubNameSpace "actiongrouptest" -Name "sample eventhub" -SubscriptionId '{subid}'
Update-AzActionGroup -Name actiongroup1 -ResourceGroupName monitor-action -EventHubReceiver $enventhub
diff --git a/src/Monitor/ActionGroup.Autorest/generated/api/ActionGroup.cs b/src/Monitor/ActionGroup.Autorest/generated/api/ActionGroup.cs
index 4928babf54aa..993a2d62e1a8 100644
--- a/src/Monitor/ActionGroup.Autorest/generated/api/ActionGroup.cs
+++ b/src/Monitor/ActionGroup.Autorest/generated/api/ActionGroup.cs
@@ -353,6 +353,7 @@ public partial class ActionGroup
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
+ var operationLocation = _response.GetFirstHeader(@"Operation-Location");
while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted )
{
// delay before making the next polling request
@@ -365,7 +366,10 @@ public partial class ActionGroup
if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) {
location = _response.GetFirstHeader(@"Location");
}
- var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation;
+ if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) {
+ operationLocation = _response.GetFirstHeader(@"Operation-Location");
+ }
+ var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation;
request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Method.Get);
// and let's look at the current response body and see if we have some information we can give back to the listener
@@ -506,6 +510,7 @@ public partial class ActionGroup
var _finalUri = _response.GetFirstHeader(@"Location");
var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation");
var location = _response.GetFirstHeader(@"Location");
+ var operationLocation = _response.GetFirstHeader(@"Operation-Location");
while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted )
{
// delay before making the next polling request
@@ -518,7 +523,10 @@ public partial class ActionGroup
if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) {
location = _response.GetFirstHeader(@"Location");
}
- var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation;
+ if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Operation-Location"))) {
+ operationLocation = _response.GetFirstHeader(@"Operation-Location");
+ }
+ var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? global::System.String.IsNullOrEmpty(operationLocation) ? _originalUri : operationLocation : location : asyncOperation;
request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Method.Get);
// and let's look at the current response body and see if we have some information we can give back to the listener
@@ -644,7 +652,7 @@ public partial class ActionGroup
}
}
- /// Update a new action group or Update an existing one.
+ /// Update a new action group or update an existing one.
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// The name of the action group.
@@ -694,7 +702,7 @@ public partial class ActionGroup
}
}
- /// Update a new action group or Update an existing one.
+ /// Update a new action group or update an existing one.
///
/// The action group to create or use for the update.
/// a delegate that is called when the remote service returns 200 (OK).
@@ -754,7 +762,7 @@ public partial class ActionGroup
}
}
- /// Update a new action group or Update an existing one.
+ /// Update a new action group or update an existing one.
///
/// The action group to create or use for the update.
/// an instance that will receive events.
@@ -811,7 +819,7 @@ public partial class ActionGroup
}
}
- /// Update a new action group or Update an existing one.
+ /// Update a new action group or update an existing one.
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// The name of the action group.
@@ -860,7 +868,7 @@ public partial class ActionGroup
}
}
- /// Update a new action group or Update an existing one.
+ /// Update a new action group or update an existing one.
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// The name of the action group.
@@ -906,7 +914,7 @@ public partial class ActionGroup
}
}
- /// Update a new action group or Update an existing one.
+ /// Update a new action group or update an existing one.
/// The ID of the target subscription.
/// The name of the resource group. The name is case insensitive.
/// The name of the action group.
diff --git a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateExpanded.cs b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateExpanded.cs
index 78ab67814dc4..30c9f43b43df 100644
--- a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateExpanded.cs
+++ b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;
- /// Create a new action group or Create an existing one.
+ /// Create a new action group or update an existing one.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzActionGroup_CreateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or Create an existing one.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}", ApiVersion = "2023-01-01")]
public partial class NewAzActionGroup_CreateExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateViaIdentityExpanded.cs b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateViaIdentityExpanded.cs
index d6d6045b46a6..adf0b51f5f2e 100644
--- a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateViaIdentityExpanded.cs
+++ b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateViaIdentityExpanded.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;
- /// Create a new action group or Create an existing one.
+ /// Create a new action group or update an existing one.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzActionGroup_CreateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or Create an existing one.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}", ApiVersion = "2023-01-01")]
public partial class NewAzActionGroup_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateViaJsonFilePath.cs b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateViaJsonFilePath.cs
index a4335711c474..bd70bb4a9466 100644
--- a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateViaJsonFilePath.cs
+++ b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateViaJsonFilePath.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;
- /// Create a new action group or Create an existing one.
+ /// Create a new action group or update an existing one.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzActionGroup_CreateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or Create an existing one.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}", ApiVersion = "2023-01-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.NotSuggestDefaultParameterSet]
diff --git a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateViaJsonString.cs b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateViaJsonString.cs
index 03d1180f6265..111dd8db697c 100644
--- a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateViaJsonString.cs
+++ b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/NewAzActionGroup_CreateViaJsonString.cs
@@ -10,13 +10,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;
- /// Create a new action group or Create an existing one.
+ /// Create a new action group or update an existing one.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzActionGroup_CreateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or Create an existing one.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Create a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}", ApiVersion = "2023-01-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.NotSuggestDefaultParameterSet]
diff --git a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/SetAzActionGroup_UpdateExpanded.cs b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/SetAzActionGroup_UpdateExpanded.cs
index 8e419b390f64..4094aa498b3e 100644
--- a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/SetAzActionGroup_UpdateExpanded.cs
+++ b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/SetAzActionGroup_UpdateExpanded.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;
- /// Update a new action group or Update an existing one.
+ /// Update a new action group or update an existing one.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
///
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzActionGroup_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or Update an existing one.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}", ApiVersion = "2023-01-01")]
public partial class SetAzActionGroup_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
diff --git a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/SetAzActionGroup_UpdateViaJsonFilePath.cs b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/SetAzActionGroup_UpdateViaJsonFilePath.cs
index 01773a3d2de1..41505b5cd535 100644
--- a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/SetAzActionGroup_UpdateViaJsonFilePath.cs
+++ b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/SetAzActionGroup_UpdateViaJsonFilePath.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;
- /// Update a new action group or Update an existing one.
+ /// Update a new action group or update an existing one.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
///
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzActionGroup_UpdateViaJsonFilePath", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or Update an existing one.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}", ApiVersion = "2023-01-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.NotSuggestDefaultParameterSet]
diff --git a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/SetAzActionGroup_UpdateViaJsonString.cs b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/SetAzActionGroup_UpdateViaJsonString.cs
index 6463e36d9925..2838715f813a 100644
--- a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/SetAzActionGroup_UpdateViaJsonString.cs
+++ b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/SetAzActionGroup_UpdateViaJsonString.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;
- /// Update a new action group or Update an existing one.
+ /// Update a new action group or update an existing one.
///
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
///
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.InternalExport]
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzActionGroup_UpdateViaJsonString", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or Update an existing one.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}", ApiVersion = "2023-01-01")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.NotSuggestDefaultParameterSet]
diff --git a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/UpdateAzActionGroup_UpdateExpanded.cs b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/UpdateAzActionGroup_UpdateExpanded.cs
index ea5228c2f2a6..fc7c19cac894 100644
--- a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/UpdateAzActionGroup_UpdateExpanded.cs
+++ b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/UpdateAzActionGroup_UpdateExpanded.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;
- /// Update a new action group or Update an existing one.
+ /// Update a new action group or update an existing one.
///
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzActionGroup_UpdateExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or Update an existing one.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
public partial class UpdateAzActionGroup_UpdateExpanded : global::System.Management.Automation.PSCmdlet,
Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.IEventListener,
diff --git a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/UpdateAzActionGroup_UpdateViaIdentityExpanded.cs b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/UpdateAzActionGroup_UpdateViaIdentityExpanded.cs
index 6ef04f3aebd6..dd9bb79bb30d 100644
--- a/src/Monitor/ActionGroup.Autorest/generated/cmdlets/UpdateAzActionGroup_UpdateViaIdentityExpanded.cs
+++ b/src/Monitor/ActionGroup.Autorest/generated/cmdlets/UpdateAzActionGroup_UpdateViaIdentityExpanded.cs
@@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Cmdlets
using Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.Cmdlets;
using System;
- /// Update a new action group or Update an existing one.
+ /// Update a new action group or update an existing one.
///
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}"
///
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzActionGroup_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupResource))]
- [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or Update an existing one.")]
+ [global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Description(@"Update a new action group or update an existing one.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Generated]
public partial class UpdateAzActionGroup_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet,
Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.IEventListener,
diff --git a/src/Monitor/ActionGroup.Autorest/help/Az.ActionGroup.md b/src/Monitor/ActionGroup.Autorest/help/Az.ActionGroup.md
index e2f9cf387363..57ea964abcca 100644
--- a/src/Monitor/ActionGroup.Autorest/help/Az.ActionGroup.md
+++ b/src/Monitor/ActionGroup.Autorest/help/Az.ActionGroup.md
@@ -20,7 +20,7 @@ This operation is only supported for Email or SMS receivers.
Get an action group.
### [New-AzActionGroup](New-AzActionGroup.md)
-Create a new action group or Create an existing one.
+Create a new action group or update an existing one.
### [New-AzActionGroupArmRoleReceiverObject](New-AzActionGroupArmRoleReceiverObject.md)
Create an in-memory object for ArmRoleReceiver.
@@ -62,5 +62,5 @@ Delete an action group.
Send test notifications to a set of provided receivers
### [Update-AzActionGroup](Update-AzActionGroup.md)
-Update a new action group or Update an existing one.
+Update a new action group or update an existing one.
diff --git a/src/Monitor/ActionGroup.Autorest/help/New-AzActionGroup.md b/src/Monitor/ActionGroup.Autorest/help/New-AzActionGroup.md
index 35775f9febd8..b29d8299323e 100644
--- a/src/Monitor/ActionGroup.Autorest/help/New-AzActionGroup.md
+++ b/src/Monitor/ActionGroup.Autorest/help/New-AzActionGroup.md
@@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzActionGroup
## SYNOPSIS
-Create a new action group or Create an existing one.
+Create a new action group or update an existing one.
## SYNTAX
@@ -49,7 +49,7 @@ New-AzActionGroup -Name -ResourceGroupName -JsonString [-ArmRoleReceiver _body.IdentityType ?? null; set => _body.IdentityType = value; }
@@ -269,6 +270,7 @@ public partial class NewAzDataCollectionEndpoint_CreateExpanded : global::System
Description = @"The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.",
SerializedName = @"userAssignedIdentities",
PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IUserAssignedIdentities) })]
+ [Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ParameterBreakingChange("UserAssignedIdentity", "13.0.0", "2.0.0", "2024/11/19", ChangeDescription="UserAssignedIdentity's type will be simplified as string array.", OldParamaterType="Hashtable", NewParameterType="string[]")]
public Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IUserAssignedIdentities UserAssignedIdentity { get => _body.IdentityUserAssignedIdentity ?? null /* object */; set => _body.IdentityUserAssignedIdentity = value; }
///
diff --git a/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/NewAzDataCollectionRule_CreateExpanded.cs b/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/NewAzDataCollectionRule_CreateExpanded.cs
index 900c8088934b..d52c96b2c586 100644
--- a/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/NewAzDataCollectionRule_CreateExpanded.cs
+++ b/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/NewAzDataCollectionRule_CreateExpanded.cs
@@ -379,6 +379,7 @@ public partial class NewAzDataCollectionRule_CreateExpanded : global::System.Man
Description = @"Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).",
SerializedName = @"type",
PossibleTypes = new [] { typeof(string) })]
+ [Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ParameterBreakingChange("IdentityType", "13.0.0", "2.0.0", "2024/11/19", ChangeDescription="IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity and UserAssignedIdentity will be used to specify user assigned identities.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.PSArgumentCompleterAttribute("None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned")]
public string IdentityType { get => _body.IdentityType ?? null; set => _body.IdentityType = value; }
@@ -523,6 +524,7 @@ public partial class NewAzDataCollectionRule_CreateExpanded : global::System.Man
Description = @"The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.",
SerializedName = @"userAssignedIdentities",
PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IUserAssignedIdentities) })]
+ [Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ParameterBreakingChange("UserAssignedIdentity", "13.0.0", "2.0.0", "2024/11/19", ChangeDescription="UserAssignedIdentity's type will be simplified as string array.", OldParamaterType="Hashtable", NewParameterType="string[]")]
public Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IUserAssignedIdentities UserAssignedIdentity { get => _body.IdentityUserAssignedIdentity ?? null /* object */; set => _body.IdentityUserAssignedIdentity = value; }
///
diff --git a/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionEndpoint_UpdateExpanded.cs b/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionEndpoint_UpdateExpanded.cs
index 3ba8a5a49df3..60c326bc6c7c 100644
--- a/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionEndpoint_UpdateExpanded.cs
+++ b/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionEndpoint_UpdateExpanded.cs
@@ -99,6 +99,7 @@ public partial class UpdateAzDataCollectionEndpoint_UpdateExpanded : global::Sys
Description = @"Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).",
SerializedName = @"type",
PossibleTypes = new [] { typeof(string) })]
+ [Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ParameterBreakingChange("IdentityType", "13.0.0", "2.0.0", "2024/11/19", ChangeDescription="IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity and UserAssignedIdentity will be used to specify user assigned identities.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.PSArgumentCompleterAttribute("None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned")]
public string IdentityType { get => _body.IdentityType ?? null; set => _body.IdentityType = value; }
@@ -208,6 +209,7 @@ public partial class UpdateAzDataCollectionEndpoint_UpdateExpanded : global::Sys
Description = @"The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.",
SerializedName = @"userAssignedIdentities",
PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IUserAssignedIdentities) })]
+ [Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ParameterBreakingChange("UserAssignedIdentity", "13.0.0", "2.0.0", "2024/11/19", ChangeDescription="UserAssignedIdentity's type will be simplified as string array.", OldParamaterType="Hashtable", NewParameterType="string[]")]
public Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IUserAssignedIdentities UserAssignedIdentity { get => _body.IdentityUserAssignedIdentity ?? null /* object */; set => _body.IdentityUserAssignedIdentity = value; }
///
diff --git a/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionEndpoint_UpdateViaIdentityExpanded.cs b/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionEndpoint_UpdateViaIdentityExpanded.cs
index 968527386f43..f721e17e17b6 100644
--- a/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionEndpoint_UpdateViaIdentityExpanded.cs
+++ b/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionEndpoint_UpdateViaIdentityExpanded.cs
@@ -99,6 +99,7 @@ public partial class UpdateAzDataCollectionEndpoint_UpdateViaIdentityExpanded :
Description = @"Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).",
SerializedName = @"type",
PossibleTypes = new [] { typeof(string) })]
+ [Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ParameterBreakingChange("IdentityType", "13.0.0", "2.0.0", "2024/11/19", ChangeDescription="IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity and UserAssignedIdentity will be used to specify user assigned identities.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.PSArgumentCompleterAttribute("None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned")]
public string IdentityType { get => _body.IdentityType ?? null; set => _body.IdentityType = value; }
@@ -168,6 +169,7 @@ public partial class UpdateAzDataCollectionEndpoint_UpdateViaIdentityExpanded :
Description = @"The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.",
SerializedName = @"userAssignedIdentities",
PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IUserAssignedIdentities) })]
+ [Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ParameterBreakingChange("UserAssignedIdentity", "13.0.0", "2.0.0", "2024/11/19", ChangeDescription="UserAssignedIdentity's type will be simplified as string array.", OldParamaterType="Hashtable", NewParameterType="string[]")]
public Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IUserAssignedIdentities UserAssignedIdentity { get => _body.IdentityUserAssignedIdentity ?? null /* object */; set => _body.IdentityUserAssignedIdentity = value; }
///
diff --git a/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionRule_UpdateExpanded.cs b/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionRule_UpdateExpanded.cs
index f496b753c62b..5489eaafa55e 100644
--- a/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionRule_UpdateExpanded.cs
+++ b/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionRule_UpdateExpanded.cs
@@ -379,6 +379,7 @@ public partial class UpdateAzDataCollectionRule_UpdateExpanded : global::System.
Description = @"Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).",
SerializedName = @"type",
PossibleTypes = new [] { typeof(string) })]
+ [Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ParameterBreakingChange("IdentityType", "13.0.0", "2.0.0", "2024/11/19", ChangeDescription="IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity and UserAssignedIdentity will be used to specify user assigned identities.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.PSArgumentCompleterAttribute("None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned")]
public string IdentityType { get => _body.IdentityType ?? null; set => _body.IdentityType = value; }
@@ -512,6 +513,7 @@ public partial class UpdateAzDataCollectionRule_UpdateExpanded : global::System.
Description = @"The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.",
SerializedName = @"userAssignedIdentities",
PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IUserAssignedIdentities) })]
+ [Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ParameterBreakingChange("UserAssignedIdentity", "13.0.0", "2.0.0", "2024/11/19", ChangeDescription="UserAssignedIdentity's type will be simplified as string array.", OldParamaterType="Hashtable", NewParameterType="string[]")]
public Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IUserAssignedIdentities UserAssignedIdentity { get => _body.IdentityUserAssignedIdentity ?? null /* object */; set => _body.IdentityUserAssignedIdentity = value; }
///
diff --git a/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionRule_UpdateViaIdentityExpanded.cs b/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionRule_UpdateViaIdentityExpanded.cs
index c65b55aaa40d..ae52280b0b9e 100644
--- a/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionRule_UpdateViaIdentityExpanded.cs
+++ b/src/Monitor/DataCollectionRule.Autorest/generated/cmdlets/UpdateAzDataCollectionRule_UpdateViaIdentityExpanded.cs
@@ -379,6 +379,7 @@ public partial class UpdateAzDataCollectionRule_UpdateViaIdentityExpanded : glob
Description = @"Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).",
SerializedName = @"type",
PossibleTypes = new [] { typeof(string) })]
+ [Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ParameterBreakingChange("IdentityType", "13.0.0", "2.0.0", "2024/11/19", ChangeDescription="IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity and UserAssignedIdentity will be used to specify user assigned identities.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.PSArgumentCompleterAttribute("None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned")]
public string IdentityType { get => _body.IdentityType ?? null; set => _body.IdentityType = value; }
@@ -472,6 +473,7 @@ public partial class UpdateAzDataCollectionRule_UpdateViaIdentityExpanded : glob
Description = @"The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.",
SerializedName = @"userAssignedIdentities",
PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IUserAssignedIdentities) })]
+ [Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.ParameterBreakingChange("UserAssignedIdentity", "13.0.0", "2.0.0", "2024/11/19", ChangeDescription="UserAssignedIdentity's type will be simplified as string array.", OldParamaterType="Hashtable", NewParameterType="string[]")]
public Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IUserAssignedIdentities UserAssignedIdentity { get => _body.IdentityUserAssignedIdentity ?? null /* object */; set => _body.IdentityUserAssignedIdentity = value; }
///
diff --git a/src/Monitor/DiagnosticSetting.Autorest/build-module.ps1 b/src/Monitor/DiagnosticSetting.Autorest/build-module.ps1
index 27d97ce3ef58..aaf6927ab9ef 100644
--- a/src/Monitor/DiagnosticSetting.Autorest/build-module.ps1
+++ b/src/Monitor/DiagnosticSetting.Autorest/build-module.ps1
@@ -12,7 +12,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
# is regenerated.
# ----------------------------------------------------------------------------------
-param([switch]$Isolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs)
+param([switch]$Isolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs, [Switch]$DisableAfterBuildTasks)
$ErrorActionPreference = 'Stop'
if($PSEdition -ne 'Core') {
@@ -169,4 +169,14 @@ if (Test-Path (Join-Path $PSScriptRoot 'generate-portal-ux.ps1'))
. (Join-Path $PSScriptRoot 'generate-portal-ux.ps1')
}
+if (-not $DisableAfterBuildTasks){
+ $afterBuildTasksPath = Join-Path $PSScriptRoot ''
+ $afterBuildTasksArgs = ConvertFrom-Json 'true' -AsHashtable
+ if(Test-Path -Path $afterBuildTasksPath -PathType leaf){
+ Write-Host -ForegroundColor Green 'Running after build tasks...'
+ . $afterBuildTasksPath @afterBuildTasksArgs
+ }
+}
+
+
Write-Host -ForegroundColor Green '-------------Done-------------'
diff --git a/src/Monitor/DiagnosticSetting.Autorest/examples/New-AzDiagnosticSetting.md b/src/Monitor/DiagnosticSetting.Autorest/examples/New-AzDiagnosticSetting.md
index d4580f6b867a..107bfc80bab0 100644
--- a/src/Monitor/DiagnosticSetting.Autorest/examples/New-AzDiagnosticSetting.md
+++ b/src/Monitor/DiagnosticSetting.Autorest/examples/New-AzDiagnosticSetting.md
@@ -3,8 +3,8 @@
$subscriptionId = (Get-AzContext).Subscription.Id
$metric = @()
$log = @()
-$metric += New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category AllMetrics -RetentionPolicyDay 7 -RetentionPolicyEnabled $true
-$log += New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category ContainerEventLogs -RetentionPolicyDay 7 -RetentionPolicyEnabled $true
+$metric += New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category AllMetrics
+$log += New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category ContainerEventLogs
New-AzDiagnosticSetting -Name test-setting -ResourceId /subscriptions/$subscriptionId/resourceGroups/test-rg-name/providers/Microsoft.AppPlatform/Spring/springcloud-001 -WorkspaceId /subscriptions/$subscriptionId/resourcegroups/test-rg-name/providers/microsoft.operationalinsights/workspaces/test-workspace -Log $log -Metric $metric
```
@@ -16,7 +16,7 @@ $subscriptionId = (Get-AzContext).Subscription.Id
$metric = @()
$log = @()
$categories = Get-AzDiagnosticSettingCategory -ResourceId /subscriptions/$subscriptionId/resourceGroups/test-rg-name/providers/Microsoft.AppPlatform/Spring/springcloud-001
-$categories | ForEach-Object {if($_.CategoryType -eq "Metrics"){$metric+=New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category $_.Name -RetentionPolicyDay 7 -RetentionPolicyEnabled $true} else{$log+=New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category $_.Name -RetentionPolicyDay 7 -RetentionPolicyEnabled $true}}
+$categories | ForEach-Object {if($_.CategoryType -eq "Metrics"){$metric+=New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category $_.Name} else{$log+=New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category $_.Name}}
New-AzDiagnosticSetting -Name test-setting -ResourceId /subscriptions/$subscriptionId/resourceGroups/test-rg-name/providers/Microsoft.AppPlatform/Spring/springcloud-001 -WorkspaceId /subscriptions/$subscriptionId/resourcegroups/test-rg-name/providers/microsoft.operationalinsights/workspaces/test-workspace -Log $log -Metric $metric
```
diff --git a/src/Monitor/DiagnosticSetting.Autorest/exports/New-AzDiagnosticSetting.ps1 b/src/Monitor/DiagnosticSetting.Autorest/exports/New-AzDiagnosticSetting.ps1
index 6da018c60cf9..580a6c139305 100644
--- a/src/Monitor/DiagnosticSetting.Autorest/exports/New-AzDiagnosticSetting.ps1
+++ b/src/Monitor/DiagnosticSetting.Autorest/exports/New-AzDiagnosticSetting.ps1
@@ -23,15 +23,15 @@ Creates or updates diagnostic settings for the specified resource.
$subscriptionId = (Get-AzContext).Subscription.Id
$metric = @()
$log = @()
-$metric += New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category AllMetrics -RetentionPolicyDay 7 -RetentionPolicyEnabled $true
-$log += New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category ContainerEventLogs -RetentionPolicyDay 7 -RetentionPolicyEnabled $true
+$metric += New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category AllMetrics
+$log += New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category ContainerEventLogs
New-AzDiagnosticSetting -Name test-setting -ResourceId /subscriptions/$subscriptionId/resourceGroups/test-rg-name/providers/Microsoft.AppPlatform/Spring/springcloud-001 -WorkspaceId /subscriptions/$subscriptionId/resourcegroups/test-rg-name/providers/microsoft.operationalinsights/workspaces/test-workspace -Log $log -Metric $metric
.Example
$subscriptionId = (Get-AzContext).Subscription.Id
$metric = @()
$log = @()
$categories = Get-AzDiagnosticSettingCategory -ResourceId /subscriptions/$subscriptionId/resourceGroups/test-rg-name/providers/Microsoft.AppPlatform/Spring/springcloud-001
-$categories | ForEach-Object {if($_.CategoryType -eq "Metrics"){$metric+=New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category $_.Name -RetentionPolicyDay 7 -RetentionPolicyEnabled $true} else{$log+=New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category $_.Name -RetentionPolicyDay 7 -RetentionPolicyEnabled $true}}
+$categories | ForEach-Object {if($_.CategoryType -eq "Metrics"){$metric+=New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category $_.Name} else{$log+=New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category $_.Name}}
New-AzDiagnosticSetting -Name test-setting -ResourceId /subscriptions/$subscriptionId/resourceGroups/test-rg-name/providers/Microsoft.AppPlatform/Spring/springcloud-001 -WorkspaceId /subscriptions/$subscriptionId/resourcegroups/test-rg-name/providers/microsoft.operationalinsights/workspaces/test-workspace -Log $log -Metric $metric
.Outputs
diff --git a/src/Monitor/DiagnosticSetting.Autorest/exports/ProxyCmdletDefinitions.ps1 b/src/Monitor/DiagnosticSetting.Autorest/exports/ProxyCmdletDefinitions.ps1
index af9a1e56796d..d0a70aa441cc 100644
--- a/src/Monitor/DiagnosticSetting.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/src/Monitor/DiagnosticSetting.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -720,15 +720,15 @@ Creates or updates diagnostic settings for the specified resource.
$subscriptionId = (Get-AzContext).Subscription.Id
$metric = @()
$log = @()
-$metric += New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category AllMetrics -RetentionPolicyDay 7 -RetentionPolicyEnabled $true
-$log += New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category ContainerEventLogs -RetentionPolicyDay 7 -RetentionPolicyEnabled $true
+$metric += New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category AllMetrics
+$log += New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category ContainerEventLogs
New-AzDiagnosticSetting -Name test-setting -ResourceId /subscriptions/$subscriptionId/resourceGroups/test-rg-name/providers/Microsoft.AppPlatform/Spring/springcloud-001 -WorkspaceId /subscriptions/$subscriptionId/resourcegroups/test-rg-name/providers/microsoft.operationalinsights/workspaces/test-workspace -Log $log -Metric $metric
.Example
$subscriptionId = (Get-AzContext).Subscription.Id
$metric = @()
$log = @()
$categories = Get-AzDiagnosticSettingCategory -ResourceId /subscriptions/$subscriptionId/resourceGroups/test-rg-name/providers/Microsoft.AppPlatform/Spring/springcloud-001
-$categories | ForEach-Object {if($_.CategoryType -eq "Metrics"){$metric+=New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category $_.Name -RetentionPolicyDay 7 -RetentionPolicyEnabled $true} else{$log+=New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category $_.Name -RetentionPolicyDay 7 -RetentionPolicyEnabled $true}}
+$categories | ForEach-Object {if($_.CategoryType -eq "Metrics"){$metric+=New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category $_.Name} else{$log+=New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category $_.Name}}
New-AzDiagnosticSetting -Name test-setting -ResourceId /subscriptions/$subscriptionId/resourceGroups/test-rg-name/providers/Microsoft.AppPlatform/Spring/springcloud-001 -WorkspaceId /subscriptions/$subscriptionId/resourcegroups/test-rg-name/providers/microsoft.operationalinsights/workspaces/test-workspace -Log $log -Metric $metric
.Outputs
diff --git a/src/Monitor/DiagnosticSetting.Autorest/help/New-AzDiagnosticSetting.md b/src/Monitor/DiagnosticSetting.Autorest/help/New-AzDiagnosticSetting.md
index f298a888b955..f13be452d25b 100644
--- a/src/Monitor/DiagnosticSetting.Autorest/help/New-AzDiagnosticSetting.md
+++ b/src/Monitor/DiagnosticSetting.Autorest/help/New-AzDiagnosticSetting.md
@@ -30,8 +30,8 @@ Creates or updates diagnostic settings for the specified resource.
$subscriptionId = (Get-AzContext).Subscription.Id
$metric = @()
$log = @()
-$metric += New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category AllMetrics -RetentionPolicyDay 7 -RetentionPolicyEnabled $true
-$log += New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category ContainerEventLogs -RetentionPolicyDay 7 -RetentionPolicyEnabled $true
+$metric += New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category AllMetrics
+$log += New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category ContainerEventLogs
New-AzDiagnosticSetting -Name test-setting -ResourceId /subscriptions/$subscriptionId/resourceGroups/test-rg-name/providers/Microsoft.AppPlatform/Spring/springcloud-001 -WorkspaceId /subscriptions/$subscriptionId/resourcegroups/test-rg-name/providers/microsoft.operationalinsights/workspaces/test-workspace -Log $log -Metric $metric
```
@@ -43,7 +43,7 @@ $subscriptionId = (Get-AzContext).Subscription.Id
$metric = @()
$log = @()
$categories = Get-AzDiagnosticSettingCategory -ResourceId /subscriptions/$subscriptionId/resourceGroups/test-rg-name/providers/Microsoft.AppPlatform/Spring/springcloud-001
-$categories | ForEach-Object {if($_.CategoryType -eq "Metrics"){$metric+=New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category $_.Name -RetentionPolicyDay 7 -RetentionPolicyEnabled $true} else{$log+=New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category $_.Name -RetentionPolicyDay 7 -RetentionPolicyEnabled $true}}
+$categories | ForEach-Object {if($_.CategoryType -eq "Metrics"){$metric+=New-AzDiagnosticSettingMetricSettingsObject -Enabled $true -Category $_.Name} else{$log+=New-AzDiagnosticSettingLogSettingsObject -Enabled $true -Category $_.Name}}
New-AzDiagnosticSetting -Name test-setting -ResourceId /subscriptions/$subscriptionId/resourceGroups/test-rg-name/providers/Microsoft.AppPlatform/Spring/springcloud-001 -WorkspaceId /subscriptions/$subscriptionId/resourcegroups/test-rg-name/providers/microsoft.operationalinsights/workspaces/test-workspace -Log $log -Metric $metric
```
diff --git a/src/Monitor/MetricData.Autorest/build-module.ps1 b/src/Monitor/MetricData.Autorest/build-module.ps1
index a686eb8e7a39..0d32e8ecadb4 100644
--- a/src/Monitor/MetricData.Autorest/build-module.ps1
+++ b/src/Monitor/MetricData.Autorest/build-module.ps1
@@ -12,7 +12,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
# is regenerated.
# ----------------------------------------------------------------------------------
-param([switch]$NotIsolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs, [switch]$UX)
+param([switch]$NotIsolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs, [switch]$UX, [Switch]$DisableAfterBuildTasks)
$ErrorActionPreference = 'Stop'
if($PSEdition -ne 'Core') {
@@ -177,4 +177,14 @@ if (Test-Path (Join-Path $PSScriptRoot 'generate-portal-ux.ps1'))
. (Join-Path $PSScriptRoot 'generate-portal-ux.ps1')
}
+if (-not $DisableAfterBuildTasks){
+ $afterBuildTasksPath = Join-Path $PSScriptRoot ''
+ $afterBuildTasksArgs = ConvertFrom-Json 'true' -AsHashtable
+ if(Test-Path -Path $afterBuildTasksPath -PathType leaf){
+ Write-Host -ForegroundColor Green 'Running after build tasks...'
+ . $afterBuildTasksPath @afterBuildTasksArgs
+ }
+}
+
+
Write-Host -ForegroundColor Green '-------------Done-------------'
diff --git a/src/Monitor/Monitor/Az.Monitor.psd1 b/src/Monitor/Monitor/Az.Monitor.psd1
index 97b0445340cf..6beed9edd77f 100644
--- a/src/Monitor/Monitor/Az.Monitor.psd1
+++ b/src/Monitor/Monitor/Az.Monitor.psd1
@@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 5/16/2024
+# Generated on: 9/19/2024
#
@{
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
# ProcessorArchitecture = ''
# Modules that must be imported into the global environment prior to importing this module
-RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '3.0.0'; })
+RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '3.0.4'; })
# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = 'ActionGroup.Autorest/bin/Az.ActionGroup.private.dll',
@@ -67,21 +67,21 @@ RequiredAssemblies = 'ActionGroup.Autorest/bin/Az.ActionGroup.private.dll',
'ScheduledQueryRule.Autorest/bin/Az.ScheduledQueryRule.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 = 'ActionGroup.Autorest\Az.ActionGroup.format.ps1xml',
- 'ActivityLogAlert.Autorest\Az.ActivityLogAlert.format.ps1xml',
- 'Autoscale.Autorest\Az.Autoscale.format.ps1xml',
- 'DataCollectionRule.Autorest\Az.DataCollectionRule.format.ps1xml',
- 'DiagnosticSetting.Autorest\Az.DiagnosticSetting.format.ps1xml',
- 'MetricData.Autorest\Az.Metricdata.format.ps1xml',
+FormatsToProcess = 'ActionGroup.Autorest/Az.ActionGroup.format.ps1xml',
+ 'ActivityLogAlert.Autorest/Az.ActivityLogAlert.format.ps1xml',
+ 'Autoscale.Autorest/Az.Autoscale.format.ps1xml',
+ 'DataCollectionRule.Autorest/Az.DataCollectionRule.format.ps1xml',
+ 'DiagnosticSetting.Autorest/Az.DiagnosticSetting.format.ps1xml',
+ 'MetricData.Autorest/Az.Metricdata.format.ps1xml',
'Monitor.format.ps1xml',
- 'MonitorWorkspace.Autorest\Az.MonitorWorkspace.format.ps1xml',
- 'ScheduledQueryRule.Autorest\Az.ScheduledQueryRule.format.ps1xml'
+ 'MonitorWorkspace.Autorest/Az.MonitorWorkspace.format.ps1xml',
+ 'ScheduledQueryRule.Autorest/Az.ScheduledQueryRule.format.ps1xml'
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
NestedModules = @('ActionGroup.Autorest/Az.ActionGroup.psm1',
@@ -193,7 +193,7 @@ PrivateData = @{
PSData = @{
# Tags applied to this module. These help with module discovery in online galleries.
- Tags = 'Azure','ResourceManager','ARM','Monitor'
+ Tags = 'Azure', 'ResourceManager', 'ARM', 'Monitor'
# A URL to the license for this module.
LicenseUri = 'https://aka.ms/azps-license'
@@ -221,7 +221,7 @@ PrivateData = @{
} # End of PSData hashtable
- } # End of PrivateData hashtable
+} # End of PrivateData hashtable
# HelpInfo URI of this module
# HelpInfoURI = ''
diff --git a/src/Monitor/Monitor/ChangeLog.md b/src/Monitor/Monitor/ChangeLog.md
index 6a28a318eb31..8a065777f005 100644
--- a/src/Monitor/Monitor/ChangeLog.md
+++ b/src/Monitor/Monitor/ChangeLog.md
@@ -19,6 +19,12 @@
-->
## Upcoming Release
+* Added breaking change messages:
+ * `New-AzDataCollectionEndpoint`
+ * `New-AzDataCollectionRule`
+ * `Update-AzDataCollectionEndpoint`
+ * `Update-AzDataCollectionRule`
+* Updated documentation for `New-AzActionGroupLogicAppReceiverObject`
## Version 5.2.1
* Removed breaking change warning messages for Metric Management Plane
diff --git a/src/Monitor/Monitor/help/Add-AzLogProfile.md b/src/Monitor/Monitor/help/Add-AzLogProfile.md
index 51b072f3620c..4d32090503ea 100644
--- a/src/Monitor/Monitor/help/Add-AzLogProfile.md
+++ b/src/Monitor/Monitor/help/Add-AzLogProfile.md
@@ -17,7 +17,7 @@ Creates a new activity log profile. This profile is used to either archive the a
Add-AzLogProfile -Name [-StorageAccountId ] [-ServiceBusRuleId ]
[-RetentionInDays ] -Location
[-Category ] [-DefaultProfile ]
- [-WhatIf] [-Confirm] []
+ [-ProgressAction ] [-WhatIf] [-Confirm] []
```
## DESCRIPTION
@@ -112,6 +112,21 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
+### -ProgressAction
+{{ Fill ProgressAction Description }}
+
+```yaml
+Type: System.Management.Automation.ActionPreference
+Parameter Sets: (All)
+Aliases: proga
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -RetentionInDays
Specifies the retention policy, in days. This is the number of days the logs are preserved in the storage account specified. To retain the data forever set this to **0**. If it's not specified, then it defaults to **0**. Normal standard storage or event hub billing rates will apply for data retention.
diff --git a/src/Monitor/Monitor/help/Add-AzMetricAlertRule.md b/src/Monitor/Monitor/help/Add-AzMetricAlertRule.md
index f034c2205730..4a519331b07e 100644
--- a/src/Monitor/Monitor/help/Add-AzMetricAlertRule.md
+++ b/src/Monitor/Monitor/help/Add-AzMetricAlertRule.md
@@ -18,7 +18,7 @@ Add-AzMetricAlertRule -WindowSize -Operator -Thre
-TargetResourceId -MetricName -TimeAggregationOperator
-Location [-Description ] [-DisableRule] -ResourceGroupName -Name
[-Action ]
- [-DefaultProfile ] [-WhatIf] [-Confirm]
+ [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm]
[]
```
@@ -200,6 +200,21 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
+### -ProgressAction
+{{ Fill ProgressAction Description }}
+
+```yaml
+Type: System.Management.Automation.ActionPreference
+Parameter Sets: (All)
+Aliases: proga
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -ResourceGroupName
Specifies the name of the resource group for the rule.
diff --git a/src/Monitor/Monitor/help/Add-AzMetricAlertRuleV2.md b/src/Monitor/Monitor/help/Add-AzMetricAlertRuleV2.md
index 259bbbed1b6b..965be96d5de9 100644
--- a/src/Monitor/Monitor/help/Add-AzMetricAlertRuleV2.md
+++ b/src/Monitor/Monitor/help/Add-AzMetricAlertRuleV2.md
@@ -19,7 +19,7 @@ Add-AzMetricAlertRuleV2 -Name -ResourceGroupName -WindowSize <
-Condition
[-AutoMitigate ] [-ActionGroup ] [-ActionGroupId ]
[-DisableRule] [-Description ] -Severity [-DefaultProfile ]
- [-WhatIf] [-Confirm] []
+ [-ProgressAction ] [-WhatIf] [-Confirm] []
```
### CreateAlertByScopes
@@ -29,7 +29,7 @@ Add-AzMetricAlertRuleV2 -Name -ResourceGroupName -WindowSize <
-Condition
[-AutoMitigate ] [-ActionGroup ] [-ActionGroupId ]
[-DisableRule] [-Description ] -Severity [-DefaultProfile ]
- [-WhatIf] [-Confirm] []
+ [-ProgressAction ] [-WhatIf] [-Confirm] []
```
## DESCRIPTION
@@ -293,6 +293,21 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
+### -ProgressAction
+{{ Fill ProgressAction Description }}
+
+```yaml
+Type: System.Management.Automation.ActionPreference
+Parameter Sets: (All)
+Aliases: proga
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -ResourceGroupName
The Resource Group Name
diff --git a/src/Monitor/Monitor/help/Add-AzWebtestAlertRule.md b/src/Monitor/Monitor/help/Add-AzWebtestAlertRule.md
index 9ae38fb47a89..c200e0cb5933 100644
--- a/src/Monitor/Monitor/help/Add-AzWebtestAlertRule.md
+++ b/src/Monitor/Monitor/help/Add-AzWebtestAlertRule.md
@@ -19,7 +19,7 @@ Add-AzWebtestAlertRule -MetricName -TargetResourceUri -WindowS
-FailedLocationCount [-MetricNamespace ] -Location [-Description ]
[-DisableRule] -ResourceGroupName -Name
[-Action ]
- [-DefaultProfile ] [-WhatIf] [-Confirm]
+ [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm]
[]
```
@@ -182,6 +182,21 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
+### -ProgressAction
+{{ Fill ProgressAction Description }}
+
+```yaml
+Type: System.Management.Automation.ActionPreference
+Parameter Sets: (All)
+Aliases: proga
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -ResourceGroupName
Specifies the name of the resource group.
diff --git a/src/Monitor/Monitor/help/Az.Monitor.md b/src/Monitor/Monitor/help/Az.Monitor.md
index 982bbcce51f3..2ebcd35e1e8f 100644
--- a/src/Monitor/Monitor/help/Az.Monitor.md
+++ b/src/Monitor/Monitor/help/Az.Monitor.md
@@ -103,7 +103,7 @@ Retrieve an scheduled query rule definition.
Gets the active subscription diagnostic settings for the specified resource.
### [New-AzActionGroup](New-AzActionGroup.md)
-Create a new action group or Create an existing one.
+Create a new action group or update an existing one.
### [New-AzActionGroupArmRoleReceiverObject](New-AzActionGroupArmRoleReceiverObject.md)
Create an in-memory object for ArmRoleReceiver.
@@ -322,7 +322,7 @@ Deletes existing subscription diagnostic settings for the specified resource.
Send test notifications to a set of provided receivers
### [Update-AzActionGroup](Update-AzActionGroup.md)
-Update a new action group or Update an existing one.
+Update a new action group or update an existing one.
### [Update-AzActivityLogAlert](Update-AzActivityLogAlert.md)
Updates 'tags' and 'enabled' fields in an existing Alert rule.
diff --git a/src/Monitor/Monitor/help/Enable-AzActionGroupReceiver.md b/src/Monitor/Monitor/help/Enable-AzActionGroupReceiver.md
index f752c76c1200..585ed323325e 100644
--- a/src/Monitor/Monitor/help/Enable-AzActionGroupReceiver.md
+++ b/src/Monitor/Monitor/help/Enable-AzActionGroupReceiver.md
@@ -17,28 +17,28 @@ This operation is only supported for Email or SMS receivers.
### EnableExpanded (Default)
```
Enable-AzActionGroupReceiver -ActionGroupName -ResourceGroupName [-SubscriptionId ]
- -ReceiverName [-DefaultProfile ] [-PassThru] [-WhatIf]
+ -ReceiverName [-DefaultProfile ] [-PassThru] [-ProgressAction ] [-WhatIf]
[-Confirm] []
```
### EnableViaJsonString
```
Enable-AzActionGroupReceiver -ActionGroupName -ResourceGroupName [-SubscriptionId ]
- -JsonString [-DefaultProfile ] [-PassThru] [-WhatIf]
+ -JsonString [-DefaultProfile ] [-PassThru] [-ProgressAction ] [-WhatIf]
[-Confirm] []
```
### EnableViaJsonFilePath
```
Enable-AzActionGroupReceiver -ActionGroupName -ResourceGroupName [-SubscriptionId ]
- -JsonFilePath [-DefaultProfile ] [-PassThru] [-WhatIf]
+ -JsonFilePath [-DefaultProfile ] [-PassThru] [-ProgressAction ] [-WhatIf]
[-Confirm] []
```
### EnableViaIdentityExpanded
```
Enable-AzActionGroupReceiver -InputObject -ReceiverName
- [-DefaultProfile ] [-PassThru] [-WhatIf] [-Confirm]
+ [-DefaultProfile ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm]
[]
```
@@ -153,6 +153,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -ProgressAction
+{{ Fill ProgressAction Description }}
+
+```yaml
+Type: System.Management.Automation.ActionPreference
+Parameter Sets: (All)
+Aliases: proga
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -ReceiverName
The name of the receiver to resubscribe.
diff --git a/src/Monitor/Monitor/help/Get-AzActionGroup.md b/src/Monitor/Monitor/help/Get-AzActionGroup.md
index c110ec1fbade..456bb9707ba1 100644
--- a/src/Monitor/Monitor/help/Get-AzActionGroup.md
+++ b/src/Monitor/Monitor/help/Get-AzActionGroup.md
@@ -15,25 +15,25 @@ Get an action group.
### List (Default)
```
Get-AzActionGroup [-SubscriptionId ] [-DefaultProfile ]
- []
+ [-ProgressAction ] []
```
### Get
```
Get-AzActionGroup -Name -ResourceGroupName [-SubscriptionId ]
- [-DefaultProfile ] []
+ [-DefaultProfile ] [-ProgressAction ] []
```
### List1
```
Get-AzActionGroup -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ]
- []
+ [-ProgressAction ] []
```
### GetViaIdentity
```
Get-AzActionGroup -InputObject [-DefaultProfile ]
- []
+ [-ProgressAction ] []
```
## DESCRIPTION
@@ -133,6 +133,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -ProgressAction
+{{ Fill ProgressAction Description }}
+
+```yaml
+Type: System.Management.Automation.ActionPreference
+Parameter Sets: (All)
+Aliases: proga
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -ResourceGroupName
The name of the resource group.
The name is case insensitive.
diff --git a/src/Monitor/Monitor/help/Get-AzActivityLog.md b/src/Monitor/Monitor/help/Get-AzActivityLog.md
index 37899ec88a4d..a702a2f0942c 100644
--- a/src/Monitor/Monitor/help/Get-AzActivityLog.md
+++ b/src/Monitor/Monitor/help/Get-AzActivityLog.md
@@ -16,35 +16,35 @@ Retrieve Activity Log events.
```
Get-AzActivityLog [-StartTime ] [-EndTime ] [-Status ] [-Caller ]
[-DetailedOutput] [-MaxRecord ] [-DefaultProfile ]
- []
+ [-ProgressAction ] []
```
### GetByCorrelationId
```
Get-AzActivityLog [-StartTime ] [-EndTime ] [-Status ] [-Caller ]
[-DetailedOutput] [-CorrelationId] [-MaxRecord ] [-DefaultProfile ]
- []
+ [-ProgressAction ] []
```
### GetByResourceGroup
```
Get-AzActivityLog [-StartTime ] [-EndTime ] [-Status ] [-Caller ]
[-DetailedOutput] [-ResourceGroupName] [-MaxRecord ]
- [-DefaultProfile ] []
+ [-DefaultProfile ] [-ProgressAction ] []
```
### GetByResourceId
```
Get-AzActivityLog [-StartTime ] [-EndTime ] [-Status ] [-Caller ]
[-DetailedOutput] [-ResourceId] [-MaxRecord ] [-DefaultProfile ]
- []
+ [-ProgressAction ] []
```
### GetByResourceProvider
```
Get-AzActivityLog [-StartTime ] [-EndTime ] [-Status ] [-Caller ]
[-DetailedOutput] [-ResourceProvider] [-MaxRecord ] [-DefaultProfile ]
- []
+ [-ProgressAction ] []
```
## DESCRIPTION
@@ -289,6 +289,21 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
+### -ProgressAction
+{{ Fill ProgressAction Description }}
+
+```yaml
+Type: System.Management.Automation.ActionPreference
+Parameter Sets: (All)
+Aliases: proga
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -ResourceGroupName
The resource group name
diff --git a/src/Monitor/Monitor/help/Get-AzActivityLogAlert.md b/src/Monitor/Monitor/help/Get-AzActivityLogAlert.md
index 099cc7229ce9..0640ee4ce88a 100644
--- a/src/Monitor/Monitor/help/Get-AzActivityLogAlert.md
+++ b/src/Monitor/Monitor/help/Get-AzActivityLogAlert.md
@@ -15,25 +15,25 @@ Get an Activity Log Alert rule.
### List (Default)
```
Get-AzActivityLogAlert [-SubscriptionId ] [-DefaultProfile ]
- []
+ [-ProgressAction ] []
```
### Get
```
Get-AzActivityLogAlert -Name -ResourceGroupName [-SubscriptionId ]
- [-DefaultProfile ] []
+ [-DefaultProfile ] [-ProgressAction ] []
```
### List1
```
Get-AzActivityLogAlert -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ]
- []
+ [-ProgressAction ] []
```
### GetViaIdentity
```
Get-AzActivityLogAlert -InputObject [-DefaultProfile ]
- []
+ [-ProgressAction ] []
```
## DESCRIPTION
@@ -111,6 +111,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -ProgressAction
+{{ Fill ProgressAction Description }}
+
+```yaml
+Type: System.Management.Automation.ActionPreference
+Parameter Sets: (All)
+Aliases: proga
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -ResourceGroupName
The name of the resource group.
The name is case insensitive.
diff --git a/src/Monitor/Monitor/help/Get-AzAlertHistory.md b/src/Monitor/Monitor/help/Get-AzAlertHistory.md
index 1dc2fa8a33df..5cd9a14d5226 100644
--- a/src/Monitor/Monitor/help/Get-AzAlertHistory.md
+++ b/src/Monitor/Monitor/help/Get-AzAlertHistory.md
@@ -16,7 +16,7 @@ Gets the history of classic alert rules.
```
Get-AzAlertHistory [-ResourceId ] [-StartTime ] [-EndTime ] [-Status ]
[-Caller ] [-DetailedOutput] [-DefaultProfile ]
- []
+ [-ProgressAction ] []
```
## DESCRIPTION
@@ -332,6 +332,21 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
+### -ProgressAction
+{{ Fill ProgressAction Description }}
+
+```yaml
+Type: System.Management.Automation.ActionPreference
+Parameter Sets: (All)
+Aliases: proga
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -ResourceId
Specifies the resource ID the rule is associated with.
diff --git a/src/Monitor/Monitor/help/Get-AzAlertRule.md b/src/Monitor/Monitor/help/Get-AzAlertRule.md
index 357931abf6e7..6c5b2c139e6a 100644
--- a/src/Monitor/Monitor/help/Get-AzAlertRule.md
+++ b/src/Monitor/Monitor/help/Get-AzAlertRule.md
@@ -16,19 +16,19 @@ Gets classic alert rules.
### GetByResourceGroup (Default)
```
Get-AzAlertRule -ResourceGroupName [-DetailedOutput] [-DefaultProfile ]
- []
+ [-ProgressAction ] []
```
### GetByName
```
Get-AzAlertRule -ResourceGroupName -Name [-DetailedOutput]
- [-DefaultProfile ] []
+ [-DefaultProfile ] [-ProgressAction ] []
```
### GetByResourceUri
```
Get-AzAlertRule -ResourceGroupName -TargetResourceId [-DetailedOutput]
- [-DefaultProfile ] []
+ [-DefaultProfile ] [-ProgressAction ] []
```
## DESCRIPTION
@@ -107,6 +107,21 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
+### -ProgressAction
+{{ Fill ProgressAction Description }}
+
+```yaml
+Type: System.Management.Automation.ActionPreference
+Parameter Sets: (All)
+Aliases: proga
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -ResourceGroupName
Specifies the name of the resource group.
diff --git a/src/Monitor/Monitor/help/Get-AzAutoscaleHistory.md b/src/Monitor/Monitor/help/Get-AzAutoscaleHistory.md
index 2307cd734444..41f3754e9c26 100644
--- a/src/Monitor/Monitor/help/Get-AzAutoscaleHistory.md
+++ b/src/Monitor/Monitor/help/Get-AzAutoscaleHistory.md
@@ -16,7 +16,7 @@ Gets the Autoscale history.
```
Get-AzAutoscaleHistory [-ResourceId ] [-StartTime ] [-EndTime ] [-Status ]
[-Caller ] [-DetailedOutput] [-DefaultProfile ]
- []
+ [-ProgressAction ] []
```
## DESCRIPTION
@@ -237,6 +237,21 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
+### -ProgressAction
+{{ Fill ProgressAction Description }}
+
+```yaml
+Type: System.Management.Automation.ActionPreference
+Parameter Sets: (All)
+Aliases: proga
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -ResourceId
Specifies the resource ID to which the autoscale setting is associated.
diff --git a/src/Monitor/Monitor/help/Get-AzAutoscalePredictiveMetric.md b/src/Monitor/Monitor/help/Get-AzAutoscalePredictiveMetric.md
index 6cbf30194947..97ec12045950 100644
--- a/src/Monitor/Monitor/help/Get-AzAutoscalePredictiveMetric.md
+++ b/src/Monitor/Monitor/help/Get-AzAutoscalePredictiveMetric.md
@@ -16,14 +16,14 @@ get predictive autoscale metric future data
```
Get-AzAutoscalePredictiveMetric -InputObject -Aggregation -Interval
-MetricName -MetricNamespace -Timespan [-DefaultProfile ]
- []
+ [-ProgressAction ] []
```
### Get
```
Get-AzAutoscalePredictiveMetric -AutoscaleSettingName -ResourceGroupName
[-SubscriptionId ] -Aggregation -Interval -MetricName