Skip to content

Commit bffc5d2

Browse files
[Monitor] Rename submodule to activitylogalert (#19128)
* Move Monitor to Az.Monitor-preview * rename submodule to activitylogalert * rename references Co-authored-by: azure-powershell-bot <[email protected]>
1 parent f660887 commit bffc5d2

File tree

297 files changed

+3695
-3441
lines changed

Some content is hidden

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

297 files changed

+3695
-3441
lines changed

src/Monitor/Monitor.Autorest/Az.Monitor.csproj renamed to src/Monitor/ActivityLogAlert.Autorest/Az.ActivityLogAlert.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<PsModuleName>Monitor</PsModuleName>
3+
<PsModuleName>ActivityLogAlert</PsModuleName>
44
<PsRootModuleName>Monitor</PsRootModuleName>
5-
<PsModuleFolder>Monitor.Autorest</PsModuleFolder>
5+
<PsModuleFolder>ActivityLogAlert.Autorest</PsModuleFolder>
66
</PropertyGroup>
77

88
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., build.proj))\src\Az.autorest.hybrid.props" />

src/Monitor/Monitor.Autorest/Az.Monitor.format.ps1xml renamed to src/Monitor/ActivityLogAlert.Autorest/Az.ActivityLogAlert.format.ps1xml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<Configuration>
33
<ViewDefinitions>
44
<View>
5-
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.MonitorIdentity</Name>
5+
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.ActivityLogAlertIdentity</Name>
66
<ViewSelectedBy>
7-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.MonitorIdentity</TypeName>
7+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.ActivityLogAlertIdentity</TypeName>
88
</ViewSelectedBy>
99
<TableControl>
1010
<TableHeaders>
@@ -36,9 +36,9 @@
3636
</TableControl>
3737
</View>
3838
<View>
39-
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.ActionGroupWebhookProperties</Name>
39+
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.ActionGroupWebhookProperties</Name>
4040
<ViewSelectedBy>
41-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.ActionGroupWebhookProperties</TypeName>
41+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.ActionGroupWebhookProperties</TypeName>
4242
</ViewSelectedBy>
4343
<TableControl>
4444
<TableHeaders>
@@ -58,9 +58,9 @@
5858
</TableControl>
5959
</View>
6060
<View>
61-
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.ActivityLogAlertResource</Name>
61+
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.ActivityLogAlertResource</Name>
6262
<ViewSelectedBy>
63-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.ActivityLogAlertResource</TypeName>
63+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.ActivityLogAlertResource</TypeName>
6464
</ViewSelectedBy>
6565
<TableControl>
6666
<TableHeaders>
@@ -92,9 +92,9 @@
9292
</TableControl>
9393
</View>
9494
<View>
95-
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AlertRuleAnyOfOrLeafCondition</Name>
95+
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleAnyOfOrLeafCondition</Name>
9696
<ViewSelectedBy>
97-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AlertRuleAnyOfOrLeafCondition</TypeName>
97+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleAnyOfOrLeafCondition</TypeName>
9898
</ViewSelectedBy>
9999
<TableControl>
100100
<TableHeaders>
@@ -126,9 +126,9 @@
126126
</TableControl>
127127
</View>
128128
<View>
129-
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AlertRuleLeafCondition</Name>
129+
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleLeafCondition</Name>
130130
<ViewSelectedBy>
131-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AlertRuleLeafCondition</TypeName>
131+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleLeafCondition</TypeName>
132132
</ViewSelectedBy>
133133
<TableControl>
134134
<TableHeaders>
@@ -160,9 +160,9 @@
160160
</TableControl>
161161
</View>
162162
<View>
163-
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AlertRuleList</Name>
163+
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleList</Name>
164164
<ViewSelectedBy>
165-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AlertRuleList</TypeName>
165+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleList</TypeName>
166166
</ViewSelectedBy>
167167
<TableControl>
168168
<TableHeaders>
@@ -182,9 +182,9 @@
182182
</TableControl>
183183
</View>
184184
<View>
185-
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AlertRulePatchObjectTags</Name>
185+
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRulePatchObjectTags</Name>
186186
<ViewSelectedBy>
187-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AlertRulePatchObjectTags</TypeName>
187+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRulePatchObjectTags</TypeName>
188188
</ViewSelectedBy>
189189
<TableControl>
190190
<TableHeaders>
@@ -204,9 +204,9 @@
204204
</TableControl>
205205
</View>
206206
<View>
207-
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AlertRulePatchProperties</Name>
207+
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRulePatchProperties</Name>
208208
<ViewSelectedBy>
209-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AlertRulePatchProperties</TypeName>
209+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRulePatchProperties</TypeName>
210210
</ViewSelectedBy>
211211
<TableControl>
212212
<TableHeaders>
@@ -226,9 +226,9 @@
226226
</TableControl>
227227
</View>
228228
<View>
229-
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AlertRuleProperties</Name>
229+
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleProperties</Name>
230230
<ViewSelectedBy>
231-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AlertRuleProperties</TypeName>
231+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AlertRuleProperties</TypeName>
232232
</ViewSelectedBy>
233233
<TableControl>
234234
<TableHeaders>
@@ -260,9 +260,9 @@
260260
</TableControl>
261261
</View>
262262
<View>
263-
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AzureResource</Name>
263+
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AzureResource</Name>
264264
<ViewSelectedBy>
265-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AzureResource</TypeName>
265+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AzureResource</TypeName>
266266
</ViewSelectedBy>
267267
<TableControl>
268268
<TableHeaders>
@@ -288,9 +288,9 @@
288288
</TableControl>
289289
</View>
290290
<View>
291-
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AzureResourceTags</Name>
291+
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AzureResourceTags</Name>
292292
<ViewSelectedBy>
293-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.AzureResourceTags</TypeName>
293+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.AzureResourceTags</TypeName>
294294
</ViewSelectedBy>
295295
<TableControl>
296296
<TableHeaders>
@@ -310,9 +310,9 @@
310310
</TableControl>
311311
</View>
312312
<View>
313-
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.ErrorResponse</Name>
313+
<Name>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.ErrorResponse</Name>
314314
<ViewSelectedBy>
315-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.Models.Api20201001.ErrorResponse</TypeName>
315+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Models.Api20201001.ErrorResponse</TypeName>
316316
</ViewSelectedBy>
317317
<TableControl>
318318
<TableHeaders>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
Write-Information "Loaded Module '$($accountsModule.Name)'"
4141

4242
# Load the private module dll
43-
$null = Import-Module -Name (Join-Path $PSScriptRoot './bin/Az.Monitor.private.dll')
43+
$null = Import-Module -Name (Join-Path $PSScriptRoot './bin/Az.ActivityLogAlert.private.dll')
4444

4545
# Get the private module's instance
46-
$instance = [Microsoft.Azure.PowerShell.Cmdlets.Monitor.Module]::Instance
46+
$instance = [Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Module]::Instance
4747

4848
# Ask for the shared functionality table
4949
$VTable = Register-AzModule
@@ -73,7 +73,7 @@
7373

7474

7575
# Load the custom module
76-
$customModulePath = Join-Path $PSScriptRoot './custom/Az.Monitor.custom.psm1'
76+
$customModulePath = Join-Path $PSScriptRoot './custom/Az.ActivityLogAlert.custom.psm1'
7777
if(Test-Path $customModulePath) {
7878
$null = Import-Module -Name $customModulePath
7979
}

src/Monitor/Monitor.Autorest/Properties/AssemblyInfo.cs renamed to src/Monitor/ActivityLogAlert.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
using System.Reflection;
1717
using System.Runtime.InteropServices;
1818

19-
[assembly: AssemblyTitle("Microsoft Azure Powershell - Monitor")]
19+
[assembly: AssemblyTitle("Microsoft Azure Powershell - ActivityLogAlert")]
2020
[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)]
2121
[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)]
2222
[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
2323

2424
[assembly: ComVisible(false)]
2525
[assembly: CLSCompliant(false)]
26-
[assembly: Guid("13015a97-3e25-4c3e-b7ee-2d2b6718597c")]
26+
[assembly: Guid("68c9e5fe-3c10-46ed-b371-9a8c93ad49c7")]
2727
[assembly: AssemblyVersion("0.1.0")]
2828
[assembly: AssemblyFileVersion("0.1.0")]

src/Monitor/Monitor.Autorest/README.md renamed to src/Monitor/ActivityLogAlert.Autorest/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!-- region Generated -->
2-
# Az.Monitor
3-
This directory contains the PowerShell module for the Monitor service.
2+
# Az.ActivityLogAlert
3+
This directory contains the PowerShell module for the ActivityLogAlert service.
44

55
---
66
## Status
7-
[![Az.Monitor](https://img.shields.io/powershellgallery/v/Az.Monitor.svg?style=flat-square&label=Az.Monitor "Az.Monitor")](https://www.powershellgallery.com/packages/Az.Monitor/)
7+
[![Az.ActivityLogAlert](https://img.shields.io/powershellgallery/v/Az.ActivityLogAlert.svg?style=flat-square&label=Az.ActivityLogAlert "Az.ActivityLogAlert")](https://www.powershellgallery.com/packages/Az.ActivityLogAlert/)
88

99
## Info
1010
- Modifiable: yes
@@ -23,7 +23,7 @@ This module was primarily generated via [AutoRest](https://github.com/Azure/auto
2323
AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent.
2424

2525
## Development
26-
For information on how to develop for `Az.Monitor`, see [how-to.md](how-to.md).
26+
For information on how to develop for `Az.ActivityLogAlert`, see [how-to.md](how-to.md).
2727
<!-- endregion -->
2828

2929
### AutoRest Configuration
@@ -36,9 +36,11 @@ input-file:
3636
# You need to specify your swagger files here.
3737
- https://github.com/Azure/azure-rest-api-specs/blob/e94b0da0c7f80e2986af90c1dd7e9c8f4c336c61/specification/monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json
3838

39-
title: Monitor
39+
root-module-name: $(prefix).Monitor
40+
title: ActivityLogAlert
4041
module-version: 0.1.0
4142
subject-prefix: ""
43+
namespace: Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert
4244
resourcegroup-append: true
4345
nested-object-to-string: true
4446

src/Monitor/Monitor.Autorest/build-module.ps1 renamed to src/Monitor/ActivityLogAlert.Autorest/build-module.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ if(-not $Debugger) {
8989
$null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path (Join-Path $binFolder 'Debug'), (Join-Path $binFolder 'Release')
9090
}
9191

92-
$dll = Join-Path $PSScriptRoot 'bin\Az.Monitor.private.dll'
92+
$dll = Join-Path $PSScriptRoot 'bin\Az.ActivityLogAlert.private.dll'
9393
if(-not (Test-Path $dll)) {
9494
Write-Error "Unable to find output assembly in '$binFolder'."
9595
}
@@ -98,7 +98,7 @@ if(-not (Test-Path $dll)) {
9898
$null = Import-Module -Name $dll
9999

100100
$modulePaths = $dll
101-
$customPsm1 = Join-Path $PSScriptRoot 'custom\Az.Monitor.custom.psm1'
101+
$customPsm1 = Join-Path $PSScriptRoot 'custom\Az.ActivityLogAlert.custom.psm1'
102102
if(Test-Path $customPsm1) {
103103
$modulePaths = @($dll, $customPsm1)
104104
}
@@ -115,9 +115,9 @@ if(Test-Path $internalFolder) {
115115
}
116116
$null = New-Item -ItemType Directory -Force -Path $internalFolder
117117

118-
$psd1 = Join-Path $PSScriptRoot './Az.Monitor.psd1'
118+
$psd1 = Join-Path $PSScriptRoot './Az.ActivityLogAlert.psd1'
119119
$guid = Get-ModuleGuid -Psd1Path $psd1
120-
$moduleName = 'Az.Monitor'
120+
$moduleName = 'Az.ActivityLogAlert'
121121
$examplesFolder = Join-Path $PSScriptRoot 'examples'
122122
$null = New-Item -ItemType Directory -Force -Path $examplesFolder
123123

@@ -133,7 +133,7 @@ if($NoDocs) {
133133
Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ExcludeDocs -ExamplesFolder $examplesFolder
134134
} else {
135135
Write-Host -ForegroundColor Green 'Creating exports and docs...'
136-
$moduleDescription = 'Microsoft Azure PowerShell: Monitor cmdlets'
136+
$moduleDescription = 'Microsoft Azure PowerShell: ActivityLogAlert cmdlets'
137137
$docsFolder = Join-Path $PSScriptRoot 'docs'
138138
if(Test-Path $docsFolder) {
139139
$null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
@@ -143,7 +143,7 @@ if($NoDocs) {
143143
}
144144

145145
Write-Host -ForegroundColor Green 'Creating format.ps1xml...'
146-
$formatPs1xml = Join-Path $PSScriptRoot './Az.Monitor.format.ps1xml'
146+
$formatPs1xml = Join-Path $PSScriptRoot './Az.ActivityLogAlert.format.ps1xml'
147147
Export-FormatPs1xml -FilePath $formatPs1xml
148148

149149
Write-Host -ForegroundColor Green 'Creating psd1...'

src/Monitor/Monitor.Autorest/custom/Az.Monitor.custom.psm1 renamed to src/Monitor/ActivityLogAlert.Autorest/custom/Az.ActivityLogAlert.custom.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# region Generated
22
# Load the private module dll
3-
$null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\bin\Az.Monitor.private.dll')
3+
$null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\bin\Az.ActivityLogAlert.private.dll')
44

55
# Load the internal module
6-
$internalModulePath = Join-Path $PSScriptRoot '..\internal\Az.Monitor.internal.psm1'
6+
$internalModulePath = Join-Path $PSScriptRoot '..\internal\Az.ActivityLogAlert.internal.psm1'
77
if(Test-Path $internalModulePath) {
88
$null = Import-Module -Name $internalModulePath
99
}

0 commit comments

Comments
 (0)