Skip to content

Commit c848b1b

Browse files
committed
Renamed Az.Insights to Az.Monitor. Primarily, only changes the psd1 and output folder names.
1 parent 004e52f commit c848b1b

File tree

6 files changed

+45
-45
lines changed

6 files changed

+45
-45
lines changed

src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/TestsController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public void RunPsTestWorkflow(
8282
.Last();
8383
_helper.SetupModules(AzureModule.AzureResourceManager,
8484
_helper.RMProfileModule,
85-
_helper.GetRMModulePath("AzureRM.Insights.psd1"),
85+
_helper.GetRMModulePath("AzureRM.Monitor.psd1"),
8686
"ScenarioTests\\Common.ps1",
8787
"ScenarioTests\\" + callingClassName + ".ps1");
8888

src/ResourceManager/Insights/Commands.Insights/Az.Insights.psd1 renamed to src/ResourceManager/Insights/Commands.Insights/Az.Monitor.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Module manifest for module 'Az.Insights'
2+
# Module manifest for module 'Az.Monitor'
33
#
44
# Generated by: Microsoft Corporation
55
#
@@ -30,7 +30,7 @@ CompanyName = 'Microsoft Corporation'
3030
Copyright = 'Microsoft Corporation. All rights reserved.'
3131

3232
# Description of the functionality provided by this module
33-
Description = 'Microsoft Azure PowerShell - Insights service cmdlets for Azure Resource Manager in PowerShell and PowerShell Core'
33+
Description = 'Microsoft Azure PowerShell - Monitor service cmdlets for Azure Resource Manager in PowerShell and PowerShell Core'
3434

3535
# Minimum version of the Windows PowerShell engine required by this module
3636
PowerShellVersion = '5.1'
@@ -113,7 +113,7 @@ PrivateData = @{
113113
PSData = @{
114114

115115
# Tags applied to this module. These help with module discovery in online galleries.
116-
Tags = 'Azure', 'ResourceManager', 'ARM', 'Insights'
116+
Tags = 'Azure', 'ResourceManager', 'ARM', 'Monitor'
117117

118118
# A URL to the license for this module.
119119
LicenseUri = 'https://aka.ms/azps-license'

src/ResourceManager/Insights/Commands.Insights/Commands.Insights.Netcore.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1111
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1212
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
13-
<OutputPath>$(ProjectDir)..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.Insights\</OutputPath>
13+
<OutputPath>$(ProjectDir)..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.Monitor\</OutputPath>
1414
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1515
<WarningsAsErrors />
1616
</PropertyGroup>
@@ -32,7 +32,7 @@
3232
</ItemGroup>
3333

3434
<ItemGroup>
35-
<None Include="Az.Insights.psd1">
35+
<None Include="Az.Monitor.psd1">
3636
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
3737
</None>
3838
</ItemGroup>

src/ResourceManager/Profile/Commands.Profile/AzureRmAlias/Mappings.json

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -967,44 +967,6 @@
967967
"Disable-AzHDInsightOMS": "Disable-AzureRmHDInsightOMS",
968968
"Get-AzHDInsightOMS": "Get-AzureRmHDInsightOMS"
969969
},
970-
"Az.Insights": {
971-
"Get-AzMetricDefinition": "Get-AzureRmMetricDefinition",
972-
"Get-AzMetric": "Get-AzureRmMetric",
973-
"Remove-AzLogProfile": "Remove-AzureRmLogProfile",
974-
"Get-AzLogProfile": "Get-AzureRmLogProfile",
975-
"Add-AzLogProfile": "Add-AzureRmLogProfile",
976-
"Get-AzLog": "Get-AzureRmLog",
977-
"Set-AzDiagnosticSetting": "Set-AzureRmDiagnosticSetting",
978-
"Get-AzDiagnosticSetting": "Get-AzureRmDiagnosticSetting",
979-
"Remove-AzDiagnosticSetting": "Remove-AzureRmDiagnosticSetting",
980-
"New-AzAutoscaleNotification": "New-AzureRmAutoscaleNotification",
981-
"New-AzAutoscaleProfile": "New-AzureRmAutoscaleProfile",
982-
"New-AzAutoscaleRule": "New-AzureRmAutoscaleRule",
983-
"Add-AzAutoscaleSetting": "Add-AzureRmAutoscaleSetting",
984-
"Get-AzAutoscaleHistory": "Get-AzureRmAutoscaleHistory",
985-
"Get-AzAutoscaleSetting": "Get-AzureRmAutoscaleSetting",
986-
"New-AzAutoscaleWebhook": "New-AzureRmAutoscaleWebhook",
987-
"Remove-AzAutoscaleSetting": "Remove-AzureRmAutoscaleSetting",
988-
"Add-AzMetricAlertRule": "Add-AzureRmMetricAlertRule",
989-
"Add-AzWebtestAlertRule": "Add-AzureRmWebtestAlertRule",
990-
"Get-AzAlertHistory": "Get-AzureRmAlertHistory",
991-
"Get-AzAlertRule": "Get-AzureRmAlertRule",
992-
"New-AzAlertRuleEmail": "New-AzureRmAlertRuleEmail",
993-
"New-AzAlertRuleWebhook": "New-AzureRmAlertRuleWebhook",
994-
"Remove-AzAlertRule": "Remove-AzureRmAlertRule",
995-
"Set-AzActivityLogAlert": "Set-AzureRmActivityLogAlert",
996-
"Get-AzActivityLogAlert": "Get-AzureRmActivityLogAlert",
997-
"New-AzActionGroup": "New-AzureRmActionGroup",
998-
"New-AzActivityLogAlertCondition": "New-AzureRmActivityLogAlertCondition",
999-
"Enable-AzActivityLogAlert": "Enable-AzureRmActivityLogAlert",
1000-
"Disable-AzActivityLogAlert": "Disable-AzureRmActivityLogAlert",
1001-
"Remove-AzActivityLogAlert": "Remove-AzureRmActivityLogAlert",
1002-
"New-AzActionGroupReceiver": "New-AzureRmActionGroupReceiver",
1003-
"Set-AzActionGroup": "Set-AzureRmActionGroup",
1004-
"Get-AzActionGroup": "Get-AzureRmActionGroup",
1005-
"Remove-AzActionGroup": "Remove-AzureRmActionGroup",
1006-
"New-AzMetricFilter": "New-AzureRmMetricFilter"
1007-
},
1008970
"Az.IotCentral": {
1009971
"New-AzIotCentralApp": "New-AzureRmIotCentralApp",
1010972
"Get-AzIotCentralApp": "Get-AzureRmIotCentralApp",
@@ -1214,6 +1176,44 @@
12141176
"Get-AzMediaService": "Get-AzureRmMediaService",
12151177
"Set-AzMediaService": "Set-AzureRmMediaService"
12161178
},
1179+
"Az.Monitor": {
1180+
"Get-AzMetricDefinition": "Get-AzureRmMetricDefinition",
1181+
"Get-AzMetric": "Get-AzureRmMetric",
1182+
"Remove-AzLogProfile": "Remove-AzureRmLogProfile",
1183+
"Get-AzLogProfile": "Get-AzureRmLogProfile",
1184+
"Add-AzLogProfile": "Add-AzureRmLogProfile",
1185+
"Get-AzLog": "Get-AzureRmLog",
1186+
"Set-AzDiagnosticSetting": "Set-AzureRmDiagnosticSetting",
1187+
"Get-AzDiagnosticSetting": "Get-AzureRmDiagnosticSetting",
1188+
"Remove-AzDiagnosticSetting": "Remove-AzureRmDiagnosticSetting",
1189+
"New-AzAutoscaleNotification": "New-AzureRmAutoscaleNotification",
1190+
"New-AzAutoscaleProfile": "New-AzureRmAutoscaleProfile",
1191+
"New-AzAutoscaleRule": "New-AzureRmAutoscaleRule",
1192+
"Add-AzAutoscaleSetting": "Add-AzureRmAutoscaleSetting",
1193+
"Get-AzAutoscaleHistory": "Get-AzureRmAutoscaleHistory",
1194+
"Get-AzAutoscaleSetting": "Get-AzureRmAutoscaleSetting",
1195+
"New-AzAutoscaleWebhook": "New-AzureRmAutoscaleWebhook",
1196+
"Remove-AzAutoscaleSetting": "Remove-AzureRmAutoscaleSetting",
1197+
"Add-AzMetricAlertRule": "Add-AzureRmMetricAlertRule",
1198+
"Add-AzWebtestAlertRule": "Add-AzureRmWebtestAlertRule",
1199+
"Get-AzAlertHistory": "Get-AzureRmAlertHistory",
1200+
"Get-AzAlertRule": "Get-AzureRmAlertRule",
1201+
"New-AzAlertRuleEmail": "New-AzureRmAlertRuleEmail",
1202+
"New-AzAlertRuleWebhook": "New-AzureRmAlertRuleWebhook",
1203+
"Remove-AzAlertRule": "Remove-AzureRmAlertRule",
1204+
"Set-AzActivityLogAlert": "Set-AzureRmActivityLogAlert",
1205+
"Get-AzActivityLogAlert": "Get-AzureRmActivityLogAlert",
1206+
"New-AzActionGroup": "New-AzureRmActionGroup",
1207+
"New-AzActivityLogAlertCondition": "New-AzureRmActivityLogAlertCondition",
1208+
"Enable-AzActivityLogAlert": "Enable-AzureRmActivityLogAlert",
1209+
"Disable-AzActivityLogAlert": "Disable-AzureRmActivityLogAlert",
1210+
"Remove-AzActivityLogAlert": "Remove-AzureRmActivityLogAlert",
1211+
"New-AzActionGroupReceiver": "New-AzureRmActionGroupReceiver",
1212+
"Set-AzActionGroup": "Set-AzureRmActionGroup",
1213+
"Get-AzActionGroup": "Get-AzureRmActionGroup",
1214+
"Remove-AzActionGroup": "Remove-AzureRmActionGroup",
1215+
"New-AzMetricFilter": "New-AzureRmMetricFilter"
1216+
},
12171217
"Az.Network": {
12181218
"Add-AzApplicationGatewayAuthenticationCertificate": "Add-AzureRmApplicationGatewayAuthenticationCertificate",
12191219
"Get-AzApplicationGatewayAuthenticationCertificate": "Get-AzureRmApplicationGatewayAuthenticationCertificate",

tools/Az/Az.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ RequiredModules = @(@{ModuleName = 'Az.Profile'; ModuleVersion = '0.6.0'; },
7272
@{ModuleName = 'Az.EventGrid'; ModuleVersion = '0.6.0'; },
7373
@{ModuleName = 'Az.EventHub'; ModuleVersion = '0.6.0'; },
7474
@{ModuleName = 'Az.HDInsight'; RequiredVersion = '0.6.0'; },
75-
@{ModuleName = 'Az.Insights'; ModuleVersion = '0.6.0'; },
7675
@{ModuleName = 'Az.IotHub'; ModuleVersion = '0.6.0'; },
7776
@{ModuleName = 'Az.KeyVault'; ModuleVersion = '0.6.0'; },
7877
@{ModuleName = 'Az.LogicApp'; ModuleVersion = '0.6.0'; },
7978
@{ModuleName = 'Az.MachineLearning'; ModuleVersion = '0.6.0'; },
8079
@{ModuleName = 'Az.MarketplaceOrdering'; ModuleVersion = '0.6.0'; },
8180
@{ModuleName = 'Az.Media'; ModuleVersion = '0.6.0'; },
81+
@{ModuleName = 'Az.Monitor'; ModuleVersion = '0.6.0'; },
8282
@{ModuleName = 'Az.Network'; ModuleVersion = '0.6.0'; },
8383
@{ModuleName = 'Az.NotificationHubs'; ModuleVersion = '0.6.0'; },
8484
@{ModuleName = 'Az.PolicyInsights'; ModuleVersion = '0.6.0'; },

0 commit comments

Comments
 (0)