Skip to content

Commit 97b8871

Browse files
committed
Rename Metric.Autorest to MetricData.Autorest
1 parent 6d14719 commit 97b8871

File tree

219 files changed

+30
-13
lines changed

Some content is hidden

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

219 files changed

+30
-13
lines changed

src/Monitor/MetricsData.Autorest/Az.Metricdata.csproj renamed to src/Monitor/MetricData.Autorest/Az.Metricdata.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<PsModuleName>Metricdata</PsModuleName>
44
<PsRootModuleName>Monitor</PsRootModuleName>
5-
<PsModuleFolder>MetricsData.Autorest</PsModuleFolder>
5+
<PsModuleFolder>MetricData.Autorest</PsModuleFolder>
66
</PropertyGroup>
77

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

src/Monitor/MetricsData.Autorest/Az.Metricdata.psd1 renamed to src/Monitor/MetricData.Autorest/Az.Metricdata.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@{
2-
GUID = '6e395470-cf8e-4098-be2f-49b35f96c5a6'
2+
GUID = '791e56df-fdca-4b46-9e58-7e4a7c4e8701'
33
RootModule = './Az.Metricdata.psm1'
44
ModuleVersion = '0.1.0'
55
CompatiblePSEditions = 'Core', 'Desktop'
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# region Generated
2+
# Load the private module dll
3+
$null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\bin\Az.Metricsdata.private.dll')
4+
5+
# Load the internal module
6+
$internalModulePath = Join-Path $PSScriptRoot '..\internal\Az.Metricsdata.internal.psm1'
7+
if(Test-Path $internalModulePath) {
8+
$null = Import-Module -Name $internalModulePath
9+
}
10+
11+
# Export nothing to clear implicit exports
12+
Export-ModuleMember
13+
14+
# Export script cmdlets
15+
Get-ChildItem -Path $PSScriptRoot -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName }
16+
Export-ModuleMember -Function (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot) -Alias (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot -AsAlias)
17+
# endregion

src/Monitor/MetricsData.Autorest/help/Az.Metricdata.md renamed to src/Monitor/MetricData.Autorest/help/Az.Metricdata.md

Lines changed: 1 addition & 1 deletion

src/Monitor/Monitor.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OperationalInsights", "..\O
5151
EndProject
5252
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestFx", "..\..\tools\TestFx\TestFx.csproj", "{0636EEB2-FE81-4424-8CFC-CCEB25360A40}"
5353
EndProject
54-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Metricdata", "MetricsData.Autorest\Az.Metricdata.csproj", "{F00EE465-B852-41F0-A40C-22719907DA8A}"
54+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Metricdata", "MetricData.Autorest\Az.Metricdata.csproj", "{F95B32A7-D021-418F-9AC3-33D1A3CAE39C}"
5555
EndProject
5656
Global
5757
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -146,10 +146,10 @@ Global
146146
{0636EEB2-FE81-4424-8CFC-CCEB25360A40}.Debug|Any CPU.Build.0 = Debug|Any CPU
147147
{0636EEB2-FE81-4424-8CFC-CCEB25360A40}.Release|Any CPU.ActiveCfg = Release|Any CPU
148148
{0636EEB2-FE81-4424-8CFC-CCEB25360A40}.Release|Any CPU.Build.0 = Release|Any CPU
149-
{F00EE465-B852-41F0-A40C-22719907DA8A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
150-
{F00EE465-B852-41F0-A40C-22719907DA8A}.Debug|Any CPU.Build.0 = Debug|Any CPU
151-
{F00EE465-B852-41F0-A40C-22719907DA8A}.Release|Any CPU.ActiveCfg = Release|Any CPU
152-
{F00EE465-B852-41F0-A40C-22719907DA8A}.Release|Any CPU.Build.0 = Release|Any CPU
149+
{F95B32A7-D021-418F-9AC3-33D1A3CAE39C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
150+
{F95B32A7-D021-418F-9AC3-33D1A3CAE39C}.Debug|Any CPU.Build.0 = Debug|Any CPU
151+
{F95B32A7-D021-418F-9AC3-33D1A3CAE39C}.Release|Any CPU.ActiveCfg = Release|Any CPU
152+
{F95B32A7-D021-418F-9AC3-33D1A3CAE39C}.Release|Any CPU.Build.0 = Release|Any CPU
153153
EndGlobalSection
154154
GlobalSection(NestedProjects) = preSolution
155155
{99E9B517-1C84-47CA-8364-F4F1C25EC656} = {EAA233B5-64B2-4DB0-991A-DD490E0B252B}

src/Monitor/Monitor/Az.Monitor.psd1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 4/15/2024
6+
# Generated on: 4/16/2024
77
#
88

99
@{
@@ -53,15 +53,15 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.17.0'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.16.0'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = 'ActionGroup.Autorest/bin/Az.ActionGroup.private.dll',
6060
'ActivityLogAlert.Autorest/bin/Az.ActivityLogAlert.private.dll',
6161
'Autoscale.Autorest/bin/Az.Autoscale.private.dll',
6262
'DataCollectionRule.Autorest/bin/Az.DataCollectionRule.private.dll',
6363
'DiagnosticSetting.Autorest/bin/Az.DiagnosticSetting.private.dll',
64-
'MetricsData.Autorest/bin/Az.Metricdata.private.dll',
64+
'MetricData.Autorest/bin/Az.Metricdata.private.dll',
6565
'Microsoft.Azure.Management.Monitor.dll',
6666
'MonitorWorkspace.Autorest/bin/Az.MonitorWorkspace.private.dll',
6767
'ScheduledQueryRule.Autorest/bin/Az.ScheduledQueryRule.private.dll'
@@ -78,7 +78,7 @@ FormatsToProcess = 'ActionGroup.Autorest/Az.ActionGroup.format.ps1xml',
7878
'Autoscale.Autorest/Az.Autoscale.format.ps1xml',
7979
'DataCollectionRule.Autorest/Az.DataCollectionRule.format.ps1xml',
8080
'DiagnosticSetting.Autorest/Az.DiagnosticSetting.format.ps1xml',
81-
'MetricsData.Autorest/Az.Metricdata.format.ps1xml',
81+
'MetricData.Autorest/Az.Metricdata.format.ps1xml',
8282
'Monitor.format.ps1xml',
8383
'MonitorWorkspace.Autorest/Az.MonitorWorkspace.format.ps1xml',
8484
'ScheduledQueryRule.Autorest/Az.ScheduledQueryRule.format.ps1xml'
@@ -89,7 +89,7 @@ NestedModules = @('ActionGroup.Autorest/Az.ActionGroup.psm1',
8989
'Autoscale.Autorest/Az.Autoscale.psm1',
9090
'DataCollectionRule.Autorest/Az.DataCollectionRule.psm1',
9191
'DiagnosticSetting.Autorest/Az.DiagnosticSetting.psm1',
92-
'MetricsData.Autorest/Az.Metricdata.psm1',
92+
'MetricData.Autorest/Az.Metricdata.psm1',
9393
'Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll',
9494
'MonitorWorkspace.Autorest/Az.MonitorWorkspace.psm1',
9595
'ScheduledQueryRule.Autorest/Az.ScheduledQueryRule.psm1')

0 commit comments

Comments
 (0)