Skip to content

Commit 0721fe3

Browse files
Migrate Monitor from generation to main (#20048)
* Move Monitor to main * Update ChangeLog.md * Update Add-AzMetricAlertRuleV2.md * Update Add-AzMetricAlertRuleV2.md Co-authored-by: Yabo Hu <[email protected]>
1 parent 52f15e2 commit 0721fe3

File tree

169 files changed

+3519
-340
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

169 files changed

+3519
-340
lines changed

src/Monitor/ActivityLogAlert.Autorest/create-model-cmdlets.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Create an in-memory object for ${ObjectType}.
158158
.Outputs
159159
${ObjectTypeWithNamespace}
160160
.Link
161-
https://docs.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
161+
https://learn.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
162162
#>
163163
function New-Az${ModulePrefix}${ObjectType}Object {
164164
[OutputType('${ObjectTypeWithNamespace}')]

src/Monitor/ActivityLogAlert.Autorest/custom/New-AzActivityLogAlert.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,6 @@ function New-AzActivityLogAlert {
173173
)
174174

175175
process {
176-
. Az.Monitor.internal\New-AzActivityLogAlert @PSBoundParameters
176+
. Az.ActivityLogAlert.internal\New-AzActivityLogAlert @PSBoundParameters
177177
}
178178
}

src/Monitor/ActivityLogAlert.Autorest/custom/Update-AzActivityLogAlert.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function Update-AzActivityLogAlert {
141141

142142
process {
143143
# changed type of parameter "-Enabled" from switch parameter to boolean
144-
. Az.Monitor.internal\Update-AzActivityLogAlert @PSBoundParameters
144+
. Az.ActivityLogAlert.internal\Update-AzActivityLogAlert @PSBoundParameters
145145
}
146146

147147
}

src/Monitor/ActivityLogAlert.Autorest/custom/autogen-model-cmdlets/New-AzActivityLogAlertActionGroupObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Create an in-memory object for ActionGroup.
2323
.Outputs
2424
Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.ActionGroup
2525
.Link
26-
https://docs.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertActionGroupObject
26+
https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertActionGroupObject
2727
#>
2828
function New-AzActivityLogAlertActionGroupObject {
2929
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.ActionGroup')]

src/Monitor/ActivityLogAlert.Autorest/custom/autogen-model-cmdlets/New-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Create an in-memory object for AlertRuleAnyOfOrLeafCondition.
2323
.Outputs
2424
Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleAnyOfOrLeafCondition
2525
.Link
26-
https://docs.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject
26+
https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject
2727
#>
2828
function New-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject {
2929
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleAnyOfOrLeafCondition')]

src/Monitor/ActivityLogAlert.Autorest/custom/autogen-model-cmdlets/New-AzActivityLogAlertAlertRuleLeafConditionObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Create an in-memory object for AlertRuleLeafCondition.
2323
.Outputs
2424
Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleLeafCondition
2525
.Link
26-
https://docs.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleLeafConditionObject
26+
https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleLeafConditionObject
2727
#>
2828
function New-AzActivityLogAlertAlertRuleLeafConditionObject {
2929
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleLeafCondition')]

src/Monitor/ActivityLogAlert.Autorest/docs/Az.ActivityLogAlert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
Module Name: Az.ActivityLogAlert
33
Module Guid: 51359a36-98ad-4a4b-878d-564c18864934
4-
Download Help Link: https://docs.microsoft.com/powershell/module/az.activitylogalert
4+
Download Help Link: https://learn.microsoft.com/powershell/module/az.activitylogalert
55
Help Version: 1.0.0.0
66
Locale: en-US
77
---

src/Monitor/ActivityLogAlert.Autorest/docs/Get-AzActivityLogAlert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file:
33
Module Name: Az.Monitor
4-
online version: https://docs.microsoft.com/powershell/module/az.monitor/get-azactivitylogalert
4+
online version: https://learn.microsoft.com/powershell/module/az.monitor/get-azactivitylogalert
55
schema: 2.0.0
66
---
77

src/Monitor/ActivityLogAlert.Autorest/docs/New-AzActivityLogAlertActionGroupObject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file:
33
Module Name: Az.Monitor
4-
online version: https://docs.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertActionGroupObject
4+
online version: https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertActionGroupObject
55
schema: 2.0.0
66
---
77

src/Monitor/ActivityLogAlert.Autorest/docs/New-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file:
33
Module Name: Az.Monitor
4-
online version: https://docs.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject
4+
online version: https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject
55
schema: 2.0.0
66
---
77

0 commit comments

Comments
 (0)