Skip to content

Commit 5e5dd5f

Browse files
Move Dashboard to main (#19316)
* Move Dashboard to main * Create SignatureIssues.csv * Update changelog * Update changelog Co-authored-by: azure-powershell-bot <[email protected]>
1 parent 9052e08 commit 5e5dd5f

File tree

44 files changed

+1845
-105
lines changed

Some content is hidden

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

44 files changed

+1845
-105
lines changed

src/Dashboard/Az.Dashboard.format.ps1xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,28 @@
347347
</TableRowEntries>
348348
</TableControl>
349349
</View>
350+
<View>
351+
<Name>Microsoft.Azure.PowerShell.Cmdlets.Dashboard.Models.Api20220801.AzureMonitorWorkspaceIntegration</Name>
352+
<ViewSelectedBy>
353+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Dashboard.Models.Api20220801.AzureMonitorWorkspaceIntegration</TypeName>
354+
</ViewSelectedBy>
355+
<TableControl>
356+
<TableHeaders>
357+
<TableColumnHeader>
358+
<Label>AzureMonitorWorkspaceResourceId</Label>
359+
</TableColumnHeader>
360+
</TableHeaders>
361+
<TableRowEntries>
362+
<TableRowEntry>
363+
<TableColumnItems>
364+
<TableColumnItem>
365+
<PropertyName>AzureMonitorWorkspaceResourceId</PropertyName>
366+
</TableColumnItem>
367+
</TableColumnItems>
368+
</TableRowEntry>
369+
</TableRowEntries>
370+
</TableControl>
371+
</View>
350372
<View>
351373
<Name>Microsoft.Azure.PowerShell.Cmdlets.Dashboard.Models.Api20220801.ManagedGrafana</Name>
352374
<ViewSelectedBy>

src/Dashboard/Az.Dashboard.psd1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 7/26/2022
6+
# Generated on: 8/25/2022
77
#
88

99
@{
@@ -69,8 +69,9 @@ FormatsToProcess = './Az.Dashboard.format.ps1xml'
6969
# NestedModules = @()
7070

7171
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
72-
FunctionsToExport = 'Get-AzGrafana', 'New-AzGrafana', 'Remove-AzGrafana',
73-
'Update-AzGrafana'
72+
FunctionsToExport = 'Get-AzGrafana', 'New-AzGrafana',
73+
'New-AzGrafanaMonitorWorkspaceIntegrationObject',
74+
'Remove-AzGrafana', 'Update-AzGrafana'
7475

7576
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
7677
CmdletsToExport = @()

src/Dashboard/Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Added a new cmdlet `New-AzGrafanaMonitorWorkspaceIntegrationObject` to help create Grafana.
2122

2223
## Version 0.1.0
2324
* First preview release for module Az.Dashboard

src/Dashboard/Dashboard.sln

Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 16
44
VisualStudioVersion = 16.6.30114.105
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{B221B12C-2412-44E9-8CFD-844FEAFFFF8D}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{45B9D799-C0AB-4F91-8D2E-6DE579B2FC8B}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{C23D6F10-06DC-4CEB-8E12-876054B5DB3F}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{9E6B4FA5-A905-4AFD-B1DE-B6F6BA2E6C57}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{3E8B32FF-C64D-4412-A2FD-492128CC9FBD}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{24B55223-C207-4EE9-AE01-5878A042D3FF}"
1111
EndProject
12-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{9664F4AE-6FC0-4991-BFC9-B52FDB15ECCA}"
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{D988C886-826C-4E3A-803B-F326EC333800}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{274A8A4B-3599-4DA4-B8D6-0367D3FA17A6}"
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{DB8A58FB-9004-4674-8CA8-77D5400A0DBF}"
1515
EndProject
16-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Dashboard", "Az.Dashboard.csproj", "{23184089-F069-4820-873F-52ABE00CC24B}"
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Dashboard", "Az.Dashboard.csproj", "{EB09732A-3C08-4DE2-B4D2-2122DA1087BC}"
1717
EndProject
1818
Global
1919
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -28,77 +28,77 @@ Global
2828
HideSolutionNode = FALSE
2929
EndGlobalSection
3030
GlobalSection(ProjectConfigurationPlatforms) = postSolution
31-
{B221B12C-2412-44E9-8CFD-844FEAFFFF8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32-
{B221B12C-2412-44E9-8CFD-844FEAFFFF8D}.Debug|Any CPU.Build.0 = Debug|Any CPU
33-
{B221B12C-2412-44E9-8CFD-844FEAFFFF8D}.Debug|x64.ActiveCfg = Debug|Any CPU
34-
{B221B12C-2412-44E9-8CFD-844FEAFFFF8D}.Debug|x64.Build.0 = Debug|Any CPU
35-
{B221B12C-2412-44E9-8CFD-844FEAFFFF8D}.Debug|x86.ActiveCfg = Debug|Any CPU
36-
{B221B12C-2412-44E9-8CFD-844FEAFFFF8D}.Debug|x86.Build.0 = Debug|Any CPU
37-
{B221B12C-2412-44E9-8CFD-844FEAFFFF8D}.Release|Any CPU.ActiveCfg = Release|Any CPU
38-
{B221B12C-2412-44E9-8CFD-844FEAFFFF8D}.Release|Any CPU.Build.0 = Release|Any CPU
39-
{B221B12C-2412-44E9-8CFD-844FEAFFFF8D}.Release|x64.ActiveCfg = Release|Any CPU
40-
{B221B12C-2412-44E9-8CFD-844FEAFFFF8D}.Release|x64.Build.0 = Release|Any CPU
41-
{B221B12C-2412-44E9-8CFD-844FEAFFFF8D}.Release|x86.ActiveCfg = Release|Any CPU
42-
{B221B12C-2412-44E9-8CFD-844FEAFFFF8D}.Release|x86.Build.0 = Release|Any CPU
43-
{C23D6F10-06DC-4CEB-8E12-876054B5DB3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
44-
{C23D6F10-06DC-4CEB-8E12-876054B5DB3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
45-
{C23D6F10-06DC-4CEB-8E12-876054B5DB3F}.Debug|x64.ActiveCfg = Debug|Any CPU
46-
{C23D6F10-06DC-4CEB-8E12-876054B5DB3F}.Debug|x64.Build.0 = Debug|Any CPU
47-
{C23D6F10-06DC-4CEB-8E12-876054B5DB3F}.Debug|x86.ActiveCfg = Debug|Any CPU
48-
{C23D6F10-06DC-4CEB-8E12-876054B5DB3F}.Debug|x86.Build.0 = Debug|Any CPU
49-
{C23D6F10-06DC-4CEB-8E12-876054B5DB3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
50-
{C23D6F10-06DC-4CEB-8E12-876054B5DB3F}.Release|Any CPU.Build.0 = Release|Any CPU
51-
{C23D6F10-06DC-4CEB-8E12-876054B5DB3F}.Release|x64.ActiveCfg = Release|Any CPU
52-
{C23D6F10-06DC-4CEB-8E12-876054B5DB3F}.Release|x64.Build.0 = Release|Any CPU
53-
{C23D6F10-06DC-4CEB-8E12-876054B5DB3F}.Release|x86.ActiveCfg = Release|Any CPU
54-
{C23D6F10-06DC-4CEB-8E12-876054B5DB3F}.Release|x86.Build.0 = Release|Any CPU
55-
{3E8B32FF-C64D-4412-A2FD-492128CC9FBD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
56-
{3E8B32FF-C64D-4412-A2FD-492128CC9FBD}.Debug|Any CPU.Build.0 = Debug|Any CPU
57-
{3E8B32FF-C64D-4412-A2FD-492128CC9FBD}.Debug|x64.ActiveCfg = Debug|Any CPU
58-
{3E8B32FF-C64D-4412-A2FD-492128CC9FBD}.Debug|x64.Build.0 = Debug|Any CPU
59-
{3E8B32FF-C64D-4412-A2FD-492128CC9FBD}.Debug|x86.ActiveCfg = Debug|Any CPU
60-
{3E8B32FF-C64D-4412-A2FD-492128CC9FBD}.Debug|x86.Build.0 = Debug|Any CPU
61-
{3E8B32FF-C64D-4412-A2FD-492128CC9FBD}.Release|Any CPU.ActiveCfg = Release|Any CPU
62-
{3E8B32FF-C64D-4412-A2FD-492128CC9FBD}.Release|Any CPU.Build.0 = Release|Any CPU
63-
{3E8B32FF-C64D-4412-A2FD-492128CC9FBD}.Release|x64.ActiveCfg = Release|Any CPU
64-
{3E8B32FF-C64D-4412-A2FD-492128CC9FBD}.Release|x64.Build.0 = Release|Any CPU
65-
{3E8B32FF-C64D-4412-A2FD-492128CC9FBD}.Release|x86.ActiveCfg = Release|Any CPU
66-
{3E8B32FF-C64D-4412-A2FD-492128CC9FBD}.Release|x86.Build.0 = Release|Any CPU
67-
{9664F4AE-6FC0-4991-BFC9-B52FDB15ECCA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
68-
{9664F4AE-6FC0-4991-BFC9-B52FDB15ECCA}.Debug|Any CPU.Build.0 = Debug|Any CPU
69-
{9664F4AE-6FC0-4991-BFC9-B52FDB15ECCA}.Debug|x64.ActiveCfg = Debug|Any CPU
70-
{9664F4AE-6FC0-4991-BFC9-B52FDB15ECCA}.Debug|x64.Build.0 = Debug|Any CPU
71-
{9664F4AE-6FC0-4991-BFC9-B52FDB15ECCA}.Debug|x86.ActiveCfg = Debug|Any CPU
72-
{9664F4AE-6FC0-4991-BFC9-B52FDB15ECCA}.Debug|x86.Build.0 = Debug|Any CPU
73-
{9664F4AE-6FC0-4991-BFC9-B52FDB15ECCA}.Release|Any CPU.ActiveCfg = Release|Any CPU
74-
{9664F4AE-6FC0-4991-BFC9-B52FDB15ECCA}.Release|Any CPU.Build.0 = Release|Any CPU
75-
{9664F4AE-6FC0-4991-BFC9-B52FDB15ECCA}.Release|x64.ActiveCfg = Release|Any CPU
76-
{9664F4AE-6FC0-4991-BFC9-B52FDB15ECCA}.Release|x64.Build.0 = Release|Any CPU
77-
{9664F4AE-6FC0-4991-BFC9-B52FDB15ECCA}.Release|x86.ActiveCfg = Release|Any CPU
78-
{9664F4AE-6FC0-4991-BFC9-B52FDB15ECCA}.Release|x86.Build.0 = Release|Any CPU
79-
{274A8A4B-3599-4DA4-B8D6-0367D3FA17A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
80-
{274A8A4B-3599-4DA4-B8D6-0367D3FA17A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
81-
{274A8A4B-3599-4DA4-B8D6-0367D3FA17A6}.Debug|x64.ActiveCfg = Debug|Any CPU
82-
{274A8A4B-3599-4DA4-B8D6-0367D3FA17A6}.Debug|x64.Build.0 = Debug|Any CPU
83-
{274A8A4B-3599-4DA4-B8D6-0367D3FA17A6}.Debug|x86.ActiveCfg = Debug|Any CPU
84-
{274A8A4B-3599-4DA4-B8D6-0367D3FA17A6}.Debug|x86.Build.0 = Debug|Any CPU
85-
{274A8A4B-3599-4DA4-B8D6-0367D3FA17A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
86-
{274A8A4B-3599-4DA4-B8D6-0367D3FA17A6}.Release|Any CPU.Build.0 = Release|Any CPU
87-
{274A8A4B-3599-4DA4-B8D6-0367D3FA17A6}.Release|x64.ActiveCfg = Release|Any CPU
88-
{274A8A4B-3599-4DA4-B8D6-0367D3FA17A6}.Release|x64.Build.0 = Release|Any CPU
89-
{274A8A4B-3599-4DA4-B8D6-0367D3FA17A6}.Release|x86.ActiveCfg = Release|Any CPU
90-
{274A8A4B-3599-4DA4-B8D6-0367D3FA17A6}.Release|x86.Build.0 = Release|Any CPU
91-
{23184089-F069-4820-873F-52ABE00CC24B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
92-
{23184089-F069-4820-873F-52ABE00CC24B}.Debug|Any CPU.Build.0 = Debug|Any CPU
93-
{23184089-F069-4820-873F-52ABE00CC24B}.Debug|x64.ActiveCfg = Debug|Any CPU
94-
{23184089-F069-4820-873F-52ABE00CC24B}.Debug|x64.Build.0 = Debug|Any CPU
95-
{23184089-F069-4820-873F-52ABE00CC24B}.Debug|x86.ActiveCfg = Debug|Any CPU
96-
{23184089-F069-4820-873F-52ABE00CC24B}.Debug|x86.Build.0 = Debug|Any CPU
97-
{23184089-F069-4820-873F-52ABE00CC24B}.Release|Any CPU.ActiveCfg = Release|Any CPU
98-
{23184089-F069-4820-873F-52ABE00CC24B}.Release|Any CPU.Build.0 = Release|Any CPU
99-
{23184089-F069-4820-873F-52ABE00CC24B}.Release|x64.ActiveCfg = Release|Any CPU
100-
{23184089-F069-4820-873F-52ABE00CC24B}.Release|x64.Build.0 = Release|Any CPU
101-
{23184089-F069-4820-873F-52ABE00CC24B}.Release|x86.ActiveCfg = Release|Any CPU
102-
{23184089-F069-4820-873F-52ABE00CC24B}.Release|x86.Build.0 = Release|Any CPU
31+
{45B9D799-C0AB-4F91-8D2E-6DE579B2FC8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32+
{45B9D799-C0AB-4F91-8D2E-6DE579B2FC8B}.Debug|Any CPU.Build.0 = Debug|Any CPU
33+
{45B9D799-C0AB-4F91-8D2E-6DE579B2FC8B}.Debug|x64.ActiveCfg = Debug|Any CPU
34+
{45B9D799-C0AB-4F91-8D2E-6DE579B2FC8B}.Debug|x64.Build.0 = Debug|Any CPU
35+
{45B9D799-C0AB-4F91-8D2E-6DE579B2FC8B}.Debug|x86.ActiveCfg = Debug|Any CPU
36+
{45B9D799-C0AB-4F91-8D2E-6DE579B2FC8B}.Debug|x86.Build.0 = Debug|Any CPU
37+
{45B9D799-C0AB-4F91-8D2E-6DE579B2FC8B}.Release|Any CPU.ActiveCfg = Release|Any CPU
38+
{45B9D799-C0AB-4F91-8D2E-6DE579B2FC8B}.Release|Any CPU.Build.0 = Release|Any CPU
39+
{45B9D799-C0AB-4F91-8D2E-6DE579B2FC8B}.Release|x64.ActiveCfg = Release|Any CPU
40+
{45B9D799-C0AB-4F91-8D2E-6DE579B2FC8B}.Release|x64.Build.0 = Release|Any CPU
41+
{45B9D799-C0AB-4F91-8D2E-6DE579B2FC8B}.Release|x86.ActiveCfg = Release|Any CPU
42+
{45B9D799-C0AB-4F91-8D2E-6DE579B2FC8B}.Release|x86.Build.0 = Release|Any CPU
43+
{9E6B4FA5-A905-4AFD-B1DE-B6F6BA2E6C57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
44+
{9E6B4FA5-A905-4AFD-B1DE-B6F6BA2E6C57}.Debug|Any CPU.Build.0 = Debug|Any CPU
45+
{9E6B4FA5-A905-4AFD-B1DE-B6F6BA2E6C57}.Debug|x64.ActiveCfg = Debug|Any CPU
46+
{9E6B4FA5-A905-4AFD-B1DE-B6F6BA2E6C57}.Debug|x64.Build.0 = Debug|Any CPU
47+
{9E6B4FA5-A905-4AFD-B1DE-B6F6BA2E6C57}.Debug|x86.ActiveCfg = Debug|Any CPU
48+
{9E6B4FA5-A905-4AFD-B1DE-B6F6BA2E6C57}.Debug|x86.Build.0 = Debug|Any CPU
49+
{9E6B4FA5-A905-4AFD-B1DE-B6F6BA2E6C57}.Release|Any CPU.ActiveCfg = Release|Any CPU
50+
{9E6B4FA5-A905-4AFD-B1DE-B6F6BA2E6C57}.Release|Any CPU.Build.0 = Release|Any CPU
51+
{9E6B4FA5-A905-4AFD-B1DE-B6F6BA2E6C57}.Release|x64.ActiveCfg = Release|Any CPU
52+
{9E6B4FA5-A905-4AFD-B1DE-B6F6BA2E6C57}.Release|x64.Build.0 = Release|Any CPU
53+
{9E6B4FA5-A905-4AFD-B1DE-B6F6BA2E6C57}.Release|x86.ActiveCfg = Release|Any CPU
54+
{9E6B4FA5-A905-4AFD-B1DE-B6F6BA2E6C57}.Release|x86.Build.0 = Release|Any CPU
55+
{24B55223-C207-4EE9-AE01-5878A042D3FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
56+
{24B55223-C207-4EE9-AE01-5878A042D3FF}.Debug|Any CPU.Build.0 = Debug|Any CPU
57+
{24B55223-C207-4EE9-AE01-5878A042D3FF}.Debug|x64.ActiveCfg = Debug|Any CPU
58+
{24B55223-C207-4EE9-AE01-5878A042D3FF}.Debug|x64.Build.0 = Debug|Any CPU
59+
{24B55223-C207-4EE9-AE01-5878A042D3FF}.Debug|x86.ActiveCfg = Debug|Any CPU
60+
{24B55223-C207-4EE9-AE01-5878A042D3FF}.Debug|x86.Build.0 = Debug|Any CPU
61+
{24B55223-C207-4EE9-AE01-5878A042D3FF}.Release|Any CPU.ActiveCfg = Release|Any CPU
62+
{24B55223-C207-4EE9-AE01-5878A042D3FF}.Release|Any CPU.Build.0 = Release|Any CPU
63+
{24B55223-C207-4EE9-AE01-5878A042D3FF}.Release|x64.ActiveCfg = Release|Any CPU
64+
{24B55223-C207-4EE9-AE01-5878A042D3FF}.Release|x64.Build.0 = Release|Any CPU
65+
{24B55223-C207-4EE9-AE01-5878A042D3FF}.Release|x86.ActiveCfg = Release|Any CPU
66+
{24B55223-C207-4EE9-AE01-5878A042D3FF}.Release|x86.Build.0 = Release|Any CPU
67+
{D988C886-826C-4E3A-803B-F326EC333800}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
68+
{D988C886-826C-4E3A-803B-F326EC333800}.Debug|Any CPU.Build.0 = Debug|Any CPU
69+
{D988C886-826C-4E3A-803B-F326EC333800}.Debug|x64.ActiveCfg = Debug|Any CPU
70+
{D988C886-826C-4E3A-803B-F326EC333800}.Debug|x64.Build.0 = Debug|Any CPU
71+
{D988C886-826C-4E3A-803B-F326EC333800}.Debug|x86.ActiveCfg = Debug|Any CPU
72+
{D988C886-826C-4E3A-803B-F326EC333800}.Debug|x86.Build.0 = Debug|Any CPU
73+
{D988C886-826C-4E3A-803B-F326EC333800}.Release|Any CPU.ActiveCfg = Release|Any CPU
74+
{D988C886-826C-4E3A-803B-F326EC333800}.Release|Any CPU.Build.0 = Release|Any CPU
75+
{D988C886-826C-4E3A-803B-F326EC333800}.Release|x64.ActiveCfg = Release|Any CPU
76+
{D988C886-826C-4E3A-803B-F326EC333800}.Release|x64.Build.0 = Release|Any CPU
77+
{D988C886-826C-4E3A-803B-F326EC333800}.Release|x86.ActiveCfg = Release|Any CPU
78+
{D988C886-826C-4E3A-803B-F326EC333800}.Release|x86.Build.0 = Release|Any CPU
79+
{DB8A58FB-9004-4674-8CA8-77D5400A0DBF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
80+
{DB8A58FB-9004-4674-8CA8-77D5400A0DBF}.Debug|Any CPU.Build.0 = Debug|Any CPU
81+
{DB8A58FB-9004-4674-8CA8-77D5400A0DBF}.Debug|x64.ActiveCfg = Debug|Any CPU
82+
{DB8A58FB-9004-4674-8CA8-77D5400A0DBF}.Debug|x64.Build.0 = Debug|Any CPU
83+
{DB8A58FB-9004-4674-8CA8-77D5400A0DBF}.Debug|x86.ActiveCfg = Debug|Any CPU
84+
{DB8A58FB-9004-4674-8CA8-77D5400A0DBF}.Debug|x86.Build.0 = Debug|Any CPU
85+
{DB8A58FB-9004-4674-8CA8-77D5400A0DBF}.Release|Any CPU.ActiveCfg = Release|Any CPU
86+
{DB8A58FB-9004-4674-8CA8-77D5400A0DBF}.Release|Any CPU.Build.0 = Release|Any CPU
87+
{DB8A58FB-9004-4674-8CA8-77D5400A0DBF}.Release|x64.ActiveCfg = Release|Any CPU
88+
{DB8A58FB-9004-4674-8CA8-77D5400A0DBF}.Release|x64.Build.0 = Release|Any CPU
89+
{DB8A58FB-9004-4674-8CA8-77D5400A0DBF}.Release|x86.ActiveCfg = Release|Any CPU
90+
{DB8A58FB-9004-4674-8CA8-77D5400A0DBF}.Release|x86.Build.0 = Release|Any CPU
91+
{EB09732A-3C08-4DE2-B4D2-2122DA1087BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
92+
{EB09732A-3C08-4DE2-B4D2-2122DA1087BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
93+
{EB09732A-3C08-4DE2-B4D2-2122DA1087BC}.Debug|x64.ActiveCfg = Debug|Any CPU
94+
{EB09732A-3C08-4DE2-B4D2-2122DA1087BC}.Debug|x64.Build.0 = Debug|Any CPU
95+
{EB09732A-3C08-4DE2-B4D2-2122DA1087BC}.Debug|x86.ActiveCfg = Debug|Any CPU
96+
{EB09732A-3C08-4DE2-B4D2-2122DA1087BC}.Debug|x86.Build.0 = Debug|Any CPU
97+
{EB09732A-3C08-4DE2-B4D2-2122DA1087BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
98+
{EB09732A-3C08-4DE2-B4D2-2122DA1087BC}.Release|Any CPU.Build.0 = Release|Any CPU
99+
{EB09732A-3C08-4DE2-B4D2-2122DA1087BC}.Release|x64.ActiveCfg = Release|Any CPU
100+
{EB09732A-3C08-4DE2-B4D2-2122DA1087BC}.Release|x64.Build.0 = Release|Any CPU
101+
{EB09732A-3C08-4DE2-B4D2-2122DA1087BC}.Release|x86.ActiveCfg = Release|Any CPU
102+
{EB09732A-3C08-4DE2-B4D2-2122DA1087BC}.Release|x86.Build.0 = Release|Any CPU
103103
EndGlobalSection
104104
EndGlobal

src/Dashboard/README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ For information on how to develop for `Az.Dashboard`, see [how-to.md](how-to.md)
3030
> see https://aka.ms/autorest
3131
3232
``` yaml
33-
branch: 8c3029730778c35b597aa6d1afe69e78872bf03c
33+
branch: 02ed6d4aac29881364f8698b4fdac9c76cd0f538
3434
require:
3535
- $(this-folder)/../readme.azure.noprofile.md
3636
input-file:
@@ -45,6 +45,26 @@ resourcegroup-append: true
4545
nested-object-to-string: true
4646

4747
directive:
48+
- from: swagger-document
49+
where: $.definitions.ResourceSku.properties
50+
transform: >-
51+
return {
52+
"name": {
53+
"description": "The Sku of the grafana resource.",
54+
"type": "string"
55+
}
56+
}
57+
- from: swagger-document
58+
where: $.definitions.GrafanaIntegrations.properties.azureMonitorWorkspaceIntegrations
59+
transform: >-
60+
return {
61+
"type": "array",
62+
"x-ms-identifiers": [],
63+
"description": "The MonitorWorkspaceIntegration of Azure Managed Grafana.",
64+
"items": {
65+
"$ref": "#/definitions/AzureMonitorWorkspaceIntegration"
66+
}
67+
}
4868
- where:
4969
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
5070
remove: true
@@ -63,4 +83,11 @@ directive:
6383
verb: New
6484
subject: Grafana
6585
hide: true
86+
- where:
87+
parameter-name: GrafanaIntegrationAzureMonitorWorkspaceIntegration
88+
set:
89+
parameter-name: MonitorWorkspaceIntegration
90+
# The cmdlet's name to long, Re-name it
91+
# - model-cmdlet:
92+
# - AzureMonitorWorkspaceIntegration
6693
```

src/Dashboard/custom/New-AzGrafana.ps1

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,17 @@ This API is idempotent, so user can either create a new grafana or update an exi
2222
Create or update a workspace for Grafana resource.
2323
This API is idempotent, so user can either create a new grafana or update an existing grafana.
2424
.Example
25-
New-AzGrafana -GrafanaName azpstest-grafana -ResourceGroupName azpstest-gp -ApiKey Enabled -AutoGeneratedDomainNameLabelScope 'TenantReuse' -DeterministicOutboundIP 'Enabled' -IdentityType 'SystemAssigned' -Location eastus -PublicNetworkAccess 'Enabled' -SkuName Standard -ZoneRedundancy 'Enabled' -Tag @{"Environment"="Dev"}
25+
New-AzGrafana -Name azpstest-grafana -ResourceGroupName azpstest-gp -ApiKey Enabled -AutoGeneratedDomainNameLabelScope 'TenantReuse' -DeterministicOutboundIP 'Enabled' -IdentityType 'SystemAssigned' -Location eastus -PublicNetworkAccess 'Enabled' -SkuName Standard -ZoneRedundancy 'Enabled' -Tag @{"Environment"="Dev"}
2626
2727
.Outputs
2828
Microsoft.Azure.PowerShell.Cmdlets.Dashboard.Models.Api20220801.IManagedGrafana
29+
.Notes
30+
COMPLEX PARAMETER PROPERTIES
31+
32+
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
33+
34+
GRAFANAINTEGRATIONAZUREMONITORWORKSPACEINTEGRATION <IAzureMonitorWorkspaceIntegration[]>: .
35+
[AzureMonitorWorkspaceResourceId <String>]: The resource Id of the connected Azure Monitor Workspace.
2936
.Link
3037
https://docs.microsoft.com/powershell/module/az.dashboard/new-azgrafana
3138
#>
@@ -97,6 +104,14 @@ param(
97104
# The geo-location where the grafana resource lives
98105
${Location},
99106

107+
[Parameter()]
108+
[AllowEmptyCollection()]
109+
[Microsoft.Azure.PowerShell.Cmdlets.Dashboard.Category('Body')]
110+
[Microsoft.Azure.PowerShell.Cmdlets.Dashboard.Models.Api20220801.IAzureMonitorWorkspaceIntegration[]]
111+
# The MonitorWorkspaceIntegration of Azure Managed Grafana.
112+
# To construct, see NOTES section for MONITORWORKSPACEINTEGRATION properties and create a hash table.
113+
${MonitorWorkspaceIntegration},
114+
100115
[Parameter(Mandatory)]
101116
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Dashboard.Support.PublicNetworkAccess])]
102117
[Microsoft.Azure.PowerShell.Cmdlets.Dashboard.Category('Body')]
@@ -107,7 +122,7 @@ param(
107122
[Parameter(Mandatory)]
108123
[Microsoft.Azure.PowerShell.Cmdlets.Dashboard.Category('Body')]
109124
[System.String]
110-
# .
125+
# The Sku of the grafana resource.
111126
${SkuName},
112127

113128
[Parameter()]

0 commit comments

Comments
 (0)