Skip to content

Commit 7946f07

Browse files
Move Monitor to release-2023-03-07 (#21073)
1 parent 28878c2 commit 7946f07

File tree

73 files changed

+125
-109
lines changed

Some content is hidden

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

73 files changed

+125
-109
lines changed

src/Monitor/ActivityLogAlert.Autorest/Az.ActivityLogAlert.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434

3535
if(-not $accountsModule) {
36-
Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://docs.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
36+
Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://learn.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
3737
} elseif (($accountsModule.Version -lt [System.Version]'2.7.5') -and (-not $localAccounts)) {
3838
Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
3939
}

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,13 @@ function CreateModelCmdlet {
2323
}
2424

2525
$ModelCsPath = Join-Path (Join-Path $PSScriptRoot 'generated\api') 'Models'
26-
$ModuleName = 'ActivityLogAlert'
2726
$OutputDir = Join-Path $PSScriptRoot 'custom\autogen-model-cmdlets'
2827
$null = New-Item -ItemType Directory -Force -Path $OutputDir
28+
if ('Az.Monitor'.length -gt 0) {
29+
$ModuleName = 'Az.Monitor'
30+
} else {
31+
$ModuleName = 'Az.ActivityLogAlert'
32+
}
2933

3034
$CsFiles = Get-ChildItem -Path $ModelCsPath -Recurse -Filter *.cs
3135
$Content = ''
@@ -64,10 +68,10 @@ function CreateModelCmdlet {
6468
$ObjectType = $Model
6569
$ObjectTypeWithNamespace = "${Namespace}.${ObjectType}"
6670
# remove duplicated module name
67-
if ($ObjectType.StartsWith($ModuleName)) {
71+
if ($ObjectType.StartsWith('ActivityLogAlert')) {
6872
$ModulePrefix = ''
6973
} else {
70-
$ModulePrefix = $ModuleName
74+
$ModulePrefix = 'ActivityLogAlert'
7175
}
7276
$OutputPath = Join-Path -ChildPath "New-Az${ModulePrefix}${ObjectType}Object.ps1" -Path $OutputDir
7377

@@ -158,7 +162,7 @@ Create an in-memory object for ${ObjectType}.
158162
.Outputs
159163
${ObjectTypeWithNamespace}
160164
.Link
161-
https://learn.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
165+
https://learn.microsoft.com/powershell/module/${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
162166
#>
163167
function New-Az${ModulePrefix}${ObjectType}Object {
164168
[OutputType('${ObjectTypeWithNamespace}')]

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://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertActionGroupObject
26+
https://learn.microsoft.com/powershell/module/Az.Monitor/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://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject
26+
https://learn.microsoft.com/powershell/module/Az.Monitor/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://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleLeafConditionObject
26+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzActivityLogAlertAlertRuleLeafConditionObject
2727
#>
2828
function New-AzActivityLogAlertAlertRuleLeafConditionObject {
2929
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleLeafCondition')]

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://learn.microsoft.com/powershell/module/az.monitor/new-azactivitylogalertactiongroupobject
4+
online version: https://learn.microsoft.com/powershell/module/Az.Monitor/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://learn.microsoft.com/powershell/module/az.monitor/new-azactivitylogalertalertruleanyoforleafconditionobject
4+
online version: https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject
55
schema: 2.0.0
66
---
77

src/Monitor/ActivityLogAlert.Autorest/docs/New-AzActivityLogAlertAlertRuleLeafConditionObject.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://learn.microsoft.com/powershell/module/az.monitor/new-azactivitylogalertalertruleleafconditionobject
4+
online version: https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzActivityLogAlertAlertRuleLeafConditionObject
55
schema: 2.0.0
66
---
77

src/Monitor/ActivityLogAlert.Autorest/exports/New-AzActivityLogAlertActionGroupObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ To create the parameters described below, construct a hash table containing the
3232
WEBHOOKPROPERTY <IActionGroupWebhookProperties>: the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
3333
[(Any) <String>]: This indicates any property can be added to this object.
3434
.Link
35-
https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertActionGroupObject
35+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzActivityLogAlertActionGroupObject
3636
#>
3737
function New-AzActivityLogAlertActionGroupObject {
3838
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.ActionGroup])]

src/Monitor/ActivityLogAlert.Autorest/exports/New-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ANYOF <IAlertRuleLeafCondition[]>: An Activity Log Alert rule condition that is
3737
[Equal <String>]: The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.
3838
[Field <String>]: The name of the Activity Log event's field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.
3939
.Link
40-
https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject
40+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject
4141
#>
4242
function New-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject {
4343
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleAnyOfOrLeafCondition])]

src/Monitor/ActivityLogAlert.Autorest/exports/New-AzActivityLogAlertAlertRuleLeafConditionObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ New-AzActivityLogAlertAlertRuleLeafConditionObject -Field properties.incidentTyp
2525
.Outputs
2626
Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleLeafCondition
2727
.Link
28-
https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleLeafConditionObject
28+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzActivityLogAlertAlertRuleLeafConditionObject
2929
#>
3030
function New-AzActivityLogAlertAlertRuleLeafConditionObject {
3131
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleLeafCondition])]

src/Monitor/ActivityLogAlert.Autorest/exports/ProxyCmdletDefinitions.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ To create the parameters described below, construct a hash table containing the
658658
WEBHOOKPROPERTY <IActionGroupWebhookProperties>: the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
659659
[(Any) <String>]: This indicates any property can be added to this object.
660660
.Link
661-
https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertActionGroupObject
661+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzActivityLogAlertActionGroupObject
662662
#>
663663
function New-AzActivityLogAlertActionGroupObject {
664664
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.ActionGroup])]
@@ -777,7 +777,7 @@ ANYOF <IAlertRuleLeafCondition[]>: An Activity Log Alert rule condition that is
777777
[Equal <String>]: The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.
778778
[Field <String>]: The name of the Activity Log event's field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.
779779
.Link
780-
https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject
780+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject
781781
#>
782782
function New-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject {
783783
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleAnyOfOrLeafCondition])]
@@ -895,7 +895,7 @@ New-AzActivityLogAlertAlertRuleLeafConditionObject -Field properties.incidentTyp
895895
.Outputs
896896
Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleLeafCondition
897897
.Link
898-
https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleLeafConditionObject
898+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzActivityLogAlertAlertRuleLeafConditionObject
899899
#>
900900
function New-AzActivityLogAlertAlertRuleLeafConditionObject {
901901
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleLeafCondition])]
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"autorest_powershell": "3.0.498",
3-
"autorest_modelerfour": "4.15.414",
42
"node": "v14.15.5",
5-
"swagger_commit": "d1eb4e42e24016044e150c0fb8f0dc6c1182b5f5",
3+
"autorest_modelerfour": "4.15.414",
64
"autorest_core": "3.9.4",
7-
"autorest": "`-- (empty)"
5+
"autorest_powershell": "3.0.502",
6+
"autorest": "`-- (empty)",
7+
"swagger_commit": "5c9459305484e0456b4a922e3d31a61e2ddd3c99"
88
}

src/Monitor/Autoscale.Autorest/Az.Autoscale.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434

3535
if(-not $accountsModule) {
36-
Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://docs.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
36+
Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://learn.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
3737
} elseif (($accountsModule.Version -lt [System.Version]'2.7.5') -and (-not $localAccounts)) {
3838
Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
3939
}

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,13 @@ function CreateModelCmdlet {
2323
}
2424

2525
$ModelCsPath = Join-Path (Join-Path $PSScriptRoot 'generated\api') 'Models'
26-
$ModuleName = 'Autoscale'
2726
$OutputDir = Join-Path $PSScriptRoot 'custom\autogen-model-cmdlets'
2827
$null = New-Item -ItemType Directory -Force -Path $OutputDir
28+
if ('Az.Monitor'.length -gt 0) {
29+
$ModuleName = 'Az.Monitor'
30+
} else {
31+
$ModuleName = 'Az.Autoscale'
32+
}
2933

3034
$CsFiles = Get-ChildItem -Path $ModelCsPath -Recurse -Filter *.cs
3135
$Content = ''
@@ -64,10 +68,10 @@ function CreateModelCmdlet {
6468
$ObjectType = $Model
6569
$ObjectTypeWithNamespace = "${Namespace}.${ObjectType}"
6670
# remove duplicated module name
67-
if ($ObjectType.StartsWith($ModuleName)) {
71+
if ($ObjectType.StartsWith('Autoscale')) {
6872
$ModulePrefix = ''
6973
} else {
70-
$ModulePrefix = $ModuleName
74+
$ModulePrefix = 'Autoscale'
7175
}
7276
$OutputPath = Join-Path -ChildPath "New-Az${ModulePrefix}${ObjectType}Object.ps1" -Path $OutputDir
7377

@@ -158,7 +162,7 @@ Create an in-memory object for ${ObjectType}.
158162
.Outputs
159163
${ObjectTypeWithNamespace}
160164
.Link
161-
https://learn.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
165+
https://learn.microsoft.com/powershell/module/${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
162166
#>
163167
function New-Az${ModulePrefix}${ObjectType}Object {
164168
[OutputType('${ObjectTypeWithNamespace}')]

src/Monitor/Autoscale.Autorest/custom/autogen-model-cmdlets/New-AzAutoscaleNotificationObject.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 AutoscaleNotification.
2323
.Outputs
2424
Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.AutoscaleNotification
2525
.Link
26-
https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleNotificationObject
26+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzAutoscaleNotificationObject
2727
#>
2828
function New-AzAutoscaleNotificationObject {
2929
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.AutoscaleNotification')]

src/Monitor/Autoscale.Autorest/custom/autogen-model-cmdlets/New-AzAutoscaleProfileObject.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 AutoscaleProfile.
2323
.Outputs
2424
Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.AutoscaleProfile
2525
.Link
26-
https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleProfileObject
26+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzAutoscaleProfileObject
2727
#>
2828
function New-AzAutoscaleProfileObject {
2929
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.AutoscaleProfile')]

src/Monitor/Autoscale.Autorest/custom/autogen-model-cmdlets/New-AzAutoscaleScaleRuleMetricDimensionObject.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 ScaleRuleMetricDimension.
2323
.Outputs
2424
Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.ScaleRuleMetricDimension
2525
.Link
26-
https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleScaleRuleMetricDimensionObject
26+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzAutoscaleScaleRuleMetricDimensionObject
2727
#>
2828
function New-AzAutoscaleScaleRuleMetricDimensionObject {
2929
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.ScaleRuleMetricDimension')]

src/Monitor/Autoscale.Autorest/custom/autogen-model-cmdlets/New-AzAutoscaleScaleRuleObject.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 ScaleRule.
2323
.Outputs
2424
Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.ScaleRule
2525
.Link
26-
https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleScaleRuleObject
26+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzAutoscaleScaleRuleObject
2727
#>
2828
function New-AzAutoscaleScaleRuleObject {
2929
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.ScaleRule')]

src/Monitor/Autoscale.Autorest/custom/autogen-model-cmdlets/New-AzAutoscaleWebhookNotificationObject.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 WebhookNotification.
2323
.Outputs
2424
Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.WebhookNotification
2525
.Link
26-
https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleWebhookNotificationObject
26+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzAutoscaleWebhookNotificationObject
2727
#>
2828
function New-AzAutoscaleWebhookNotificationObject {
2929
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.WebhookNotification')]

src/Monitor/Autoscale.Autorest/docs/New-AzAutoscaleNotificationObject.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://learn.microsoft.com/powershell/module/az.monitor/new-azautoscalenotificationobject
4+
online version: https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzAutoscaleNotificationObject
55
schema: 2.0.0
66
---
77

src/Monitor/Autoscale.Autorest/docs/New-AzAutoscaleProfileObject.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://learn.microsoft.com/powershell/module/az.monitor/new-azautoscaleprofileobject
4+
online version: https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzAutoscaleProfileObject
55
schema: 2.0.0
66
---
77

src/Monitor/Autoscale.Autorest/docs/New-AzAutoscaleScaleRuleMetricDimensionObject.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://learn.microsoft.com/powershell/module/az.monitor/new-azautoscalescalerulemetricdimensionobject
4+
online version: https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzAutoscaleScaleRuleMetricDimensionObject
55
schema: 2.0.0
66
---
77

src/Monitor/Autoscale.Autorest/docs/New-AzAutoscaleScaleRuleObject.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://learn.microsoft.com/powershell/module/az.monitor/new-azautoscalescaleruleobject
4+
online version: https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzAutoscaleScaleRuleObject
55
schema: 2.0.0
66
---
77

src/Monitor/Autoscale.Autorest/docs/New-AzAutoscaleWebhookNotificationObject.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://learn.microsoft.com/powershell/module/az.monitor/new-azautoscalewebhooknotificationobject
4+
online version: https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzAutoscaleWebhookNotificationObject
55
schema: 2.0.0
66
---
77

src/Monitor/Autoscale.Autorest/exports/New-AzAutoscaleNotificationObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ WEBHOOK <IWebhookNotification[]>: the collection of webhook notifications.
3535
[(Any) <String>]: This indicates any property can be added to this object.
3636
[ServiceUri <String>]: the service address to receive the notification.
3737
.Link
38-
https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleNotificationObject
38+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzAutoscaleNotificationObject
3939
#>
4040
function New-AzAutoscaleNotificationObject {
4141
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.AutoscaleNotification])]

src/Monitor/Autoscale.Autorest/exports/New-AzAutoscaleProfileObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ RULE <IScaleRule[]>: the collection of rules that provide the triggers and param
5252
[MetricTriggerMetricResourceLocation <String>]: the location of the resource the rule monitors.
5353
[ScaleActionValue <String>]: the number of instances that are involved in the scaling action. This value must be 1 or greater. The default value is 1.
5454
.Link
55-
https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleProfileObject
55+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzAutoscaleProfileObject
5656
#>
5757
function New-AzAutoscaleProfileObject {
5858
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.AutoscaleProfile])]

src/Monitor/Autoscale.Autorest/exports/New-AzAutoscaleScaleRuleMetricDimensionObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ New-AzAutoscaleScaleRuleMetricDimensionObject -DimensionName VMName -Operator 'E
2525
.Outputs
2626
Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.ScaleRuleMetricDimension
2727
.Link
28-
https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleScaleRuleMetricDimensionObject
28+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzAutoscaleScaleRuleMetricDimensionObject
2929
#>
3030
function New-AzAutoscaleScaleRuleMetricDimensionObject {
3131
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.ScaleRuleMetricDimension])]

src/Monitor/Autoscale.Autorest/exports/New-AzAutoscaleScaleRuleObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ METRICTRIGGERDIMENSION <IScaleRuleMetricDimension[]>: List of dimension conditio
3535
Operator <ScaleRuleMetricDimensionOperationType>: the dimension operator. Only 'Equals' and 'NotEquals' are supported. 'Equals' being equal to any of the values. 'NotEquals' being not equal to all of the values
3636
Value <String[]>: list of dimension values. For example: ["App1","App2"].
3737
.Link
38-
https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleScaleRuleObject
38+
https://learn.microsoft.com/powershell/module/Az.Monitor/new-AzAutoscaleScaleRuleObject
3939
#>
4040
function New-AzAutoscaleScaleRuleObject {
4141
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.ScaleRule])]

0 commit comments

Comments
 (0)