Skip to content

Commit f30691e

Browse files
authored
Update Az.Dashboard (#28800)
1 parent fffdfc5 commit f30691e

File tree

59 files changed

+8172
-813
lines changed

Some content is hidden

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

59 files changed

+8172
-813
lines changed

src/Dashboard/Dashboard.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Dashboard")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.3")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.3")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.2.0")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("0.2.0")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]
27-

src/Dashboard/Dashboard.Autorest/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ For information on how to develop for `Az.Dashboard`, see [how-to.md](how-to.md)
2727
> see https://aka.ms/autorest
2828
2929
``` yaml
30-
commit: 02ed6d4aac29881364f8698b4fdac9c76cd0f538
30+
commit: a6ef905ba314503e8cfac82d63a2e790fae7991b
3131
require:
3232
- $(this-folder)/../../readme.azure.noprofile.md
3333
input-file:
34-
- $(repo)/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2022-08-01/grafana.json
34+
- $(repo)/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2025-08-01/grafana.json
3535

3636
title: Dashboard
37-
module-version: 0.1.0
37+
module-version: 0.3.0
3838
subject-prefix: Grafana
3939

4040
directive:
@@ -65,13 +65,17 @@ directive:
6565
variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
6666
remove: true
6767
- where:
68+
subject: Grafana
6869
parameter-name: WorkspaceName
6970
set:
7071
parameter-name: Name
7172
alias: GrafanaName
7273
- where:
7374
subject: PrivateEndpointConnection
7475
remove: true
76+
- where:
77+
subject: ManagedPrivateEndpoint
78+
remove: true
7579
- where:
7680
subject: PrivateLinkResource
7781
remove: true
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"resourceType": "dashboards",
3+
"apiVersion": "2025-08-01",
4+
"learnMore": {
5+
"url": "https://learn.microsoft.com/powershell/module/az.dashboard"
6+
},
7+
"commands": [
8+
{
9+
"name": "Get-AzGrafanaDashboard",
10+
"description": "Get the properties of a specific dashboard for grafana resource.",
11+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards/{dashboardName}",
12+
"help": {
13+
"learnMore": {
14+
"url": "https://learn.microsoft.com/powershell/module/az.dashboard/get-azgrafanadashboard"
15+
},
16+
"parameterSets": [
17+
{
18+
"parameters": [
19+
"-Name <String>",
20+
"-ResourceGroupName <String>",
21+
"[-SubscriptionId <String[]>]"
22+
]
23+
}
24+
]
25+
},
26+
"examples": [
27+
{
28+
"description": "Get the properties of a specific dashboard for grafana resource.",
29+
"parameters": [
30+
{
31+
"name": "-Name",
32+
"value": "[Path.dashboardName]"
33+
},
34+
{
35+
"name": "-ResourceGroupName",
36+
"value": "[Path.resourceGroupName]"
37+
},
38+
{
39+
"name": "-SubscriptionId",
40+
"value": "[Path.subscriptionId]"
41+
}
42+
]
43+
}
44+
]
45+
},
46+
{
47+
"name": "Remove-AzGrafanaManagedDashboard",
48+
"description": "Delete a dashboard for Grafana resource.",
49+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards/{dashboardName}",
50+
"help": {
51+
"learnMore": {
52+
"url": "https://learn.microsoft.com/powershell/module/az.dashboard/remove-azgrafanamanageddashboard"
53+
},
54+
"parameterSets": [
55+
{
56+
"parameters": [
57+
"-DashboardName <String>",
58+
"-ResourceGroupName <String>",
59+
"[-SubscriptionId <String>]"
60+
]
61+
}
62+
]
63+
},
64+
"examples": [
65+
{
66+
"description": "Delete a dashboard for Grafana resource.",
67+
"parameters": [
68+
{
69+
"name": "-DashboardName",
70+
"value": "[Path.dashboardName]"
71+
},
72+
{
73+
"name": "-ResourceGroupName",
74+
"value": "[Path.resourceGroupName]"
75+
},
76+
{
77+
"name": "-SubscriptionId",
78+
"value": "[Path.subscriptionId]"
79+
}
80+
]
81+
}
82+
]
83+
}
84+
]
85+
}
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
{
2+
"resourceType": "grafana/integrationFabrics",
3+
"apiVersion": "2025-08-01",
4+
"learnMore": {
5+
"url": "https://learn.microsoft.com/powershell/module/az.dashboard"
6+
},
7+
"commands": [
8+
{
9+
"name": "Get-AzGrafanaIntegrationFabric",
10+
"description": "Get a IntegrationFabric",
11+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/integrationFabrics/{integrationFabricName}",
12+
"help": {
13+
"learnMore": {
14+
"url": "https://learn.microsoft.com/powershell/module/az.dashboard/get-azgrafanaintegrationfabric"
15+
},
16+
"parameterSets": [
17+
{
18+
"parameters": [
19+
"-Name <String>",
20+
"-ResourceGroupName <String>",
21+
"[-SubscriptionId <String[]>]",
22+
"-WorkspaceName <String>"
23+
]
24+
}
25+
]
26+
},
27+
"examples": [
28+
{
29+
"description": "Get a IntegrationFabric",
30+
"parameters": [
31+
{
32+
"name": "-Name",
33+
"value": "[Path.integrationFabricName]"
34+
},
35+
{
36+
"name": "-ResourceGroupName",
37+
"value": "[Path.resourceGroupName]"
38+
},
39+
{
40+
"name": "-SubscriptionId",
41+
"value": "[Path.subscriptionId]"
42+
},
43+
{
44+
"name": "-WorkspaceName",
45+
"value": "[Path.workspaceName]"
46+
}
47+
]
48+
}
49+
]
50+
},
51+
{
52+
"name": "Remove-AzGrafanaIntegrationFabric",
53+
"description": "Delete a IntegrationFabric",
54+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/integrationFabrics/{integrationFabricName}",
55+
"help": {
56+
"learnMore": {
57+
"url": "https://learn.microsoft.com/powershell/module/az.dashboard/remove-azgrafanaintegrationfabric"
58+
},
59+
"parameterSets": [
60+
{
61+
"parameters": [
62+
"-Name <String>",
63+
"-ResourceGroupName <String>",
64+
"[-SubscriptionId <String>]",
65+
"-WorkspaceName <String>"
66+
]
67+
}
68+
]
69+
},
70+
"examples": [
71+
{
72+
"description": "Delete a IntegrationFabric",
73+
"parameters": [
74+
{
75+
"name": "-Name",
76+
"value": "[Path.integrationFabricName]"
77+
},
78+
{
79+
"name": "-ResourceGroupName",
80+
"value": "[Path.resourceGroupName]"
81+
},
82+
{
83+
"name": "-SubscriptionId",
84+
"value": "[Path.subscriptionId]"
85+
},
86+
{
87+
"name": "-WorkspaceName",
88+
"value": "[Path.workspaceName]"
89+
}
90+
]
91+
}
92+
]
93+
}
94+
]
95+
}

src/Dashboard/Dashboard.Autorest/UX/Microsoft.Dashboard/grafana.json

Lines changed: 77 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "grafana",
3-
"apiVersion": "2022-08-01",
3+
"apiVersion": "2025-08-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.dashboard"
66
},
@@ -43,6 +43,44 @@
4343
}
4444
]
4545
},
46+
{
47+
"name": "Invoke-AzGrafanaFetchGrafanaAvailablePlugin",
48+
"description": "A synchronous resource action.",
49+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/fetchAvailablePlugins",
50+
"help": {
51+
"learnMore": {
52+
"url": "https://learn.microsoft.com/powershell/module/az.dashboard/invoke-azgrafanafetchgrafanaavailableplugin"
53+
},
54+
"parameterSets": [
55+
{
56+
"parameters": [
57+
"-ResourceGroupName <String>",
58+
"[-SubscriptionId <String>]",
59+
"-WorkspaceName <String>"
60+
]
61+
}
62+
]
63+
},
64+
"examples": [
65+
{
66+
"description": "A synchronous resource action.",
67+
"parameters": [
68+
{
69+
"name": "-ResourceGroupName",
70+
"value": "[Path.resourceGroupName]"
71+
},
72+
{
73+
"name": "-SubscriptionId",
74+
"value": "[Path.subscriptionId]"
75+
},
76+
{
77+
"name": "-WorkspaceName",
78+
"value": "[Path.workspaceName]"
79+
}
80+
]
81+
}
82+
]
83+
},
4684
{
4785
"name": "Remove-AzGrafana",
4886
"description": "Delete a workspace for Grafana resource.",
@@ -80,6 +118,44 @@
80118
]
81119
}
82120
]
121+
},
122+
{
123+
"name": "Test-AzGrafanaEnterpriseDetail",
124+
"description": "Retrieve enterprise add-on details information",
125+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/checkEnterpriseDetails",
126+
"help": {
127+
"learnMore": {
128+
"url": "https://learn.microsoft.com/powershell/module/az.dashboard/test-azgrafanaenterprisedetail"
129+
},
130+
"parameterSets": [
131+
{
132+
"parameters": [
133+
"-ResourceGroupName <String>",
134+
"[-SubscriptionId <String>]",
135+
"-WorkspaceName <String>"
136+
]
137+
}
138+
]
139+
},
140+
"examples": [
141+
{
142+
"description": "Retrieve enterprise add-on details information",
143+
"parameters": [
144+
{
145+
"name": "-ResourceGroupName",
146+
"value": "[Path.resourceGroupName]"
147+
},
148+
{
149+
"name": "-SubscriptionId",
150+
"value": "[Path.subscriptionId]"
151+
},
152+
{
153+
"name": "-WorkspaceName",
154+
"value": "[Path.workspaceName]"
155+
}
156+
]
157+
}
158+
]
83159
}
84160
]
85161
}

src/Dashboard/Dashboard.Autorest/docs/Az.Dashboard.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.Dashboard
3-
Module Guid: d7271e13-06f6-4847-8499-12633a408ce4
3+
Module Guid: f4a10d49-86e6-4794-9efc-fc62829e937b
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.dashboard
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -14,17 +14,48 @@ Microsoft Azure PowerShell: Dashboard cmdlets
1414
### [Get-AzGrafana](Get-AzGrafana.md)
1515
Get the properties of a specific workspace for Grafana resource.
1616

17+
### [Get-AzGrafanaDashboard](Get-AzGrafanaDashboard.md)
18+
Get the properties of a specific dashboard for grafana resource.
19+
20+
### [Get-AzGrafanaIntegrationFabric](Get-AzGrafanaIntegrationFabric.md)
21+
Get a IntegrationFabric
22+
23+
### [Invoke-AzGrafanaFetchGrafanaAvailablePlugin](Invoke-AzGrafanaFetchGrafanaAvailablePlugin.md)
24+
A synchronous resource action.
25+
1726
### [New-AzGrafana](New-AzGrafana.md)
1827
Create or update a workspace for Grafana resource.
1928
This API is idempotent, so user can either create a new grafana or update an existing grafana.
2029

30+
### [New-AzGrafanaIntegrationFabric](New-AzGrafanaIntegrationFabric.md)
31+
Create a IntegrationFabric
32+
33+
### [New-AzGrafanaManagedDashboard](New-AzGrafanaManagedDashboard.md)
34+
Create a dashboard for grafana resource.
35+
This API is idempotent, so user can either create a new dashboard or create an existing dashboard.
36+
2137
### [New-AzGrafanaMonitorWorkspaceIntegrationObject](New-AzGrafanaMonitorWorkspaceIntegrationObject.md)
2238
Create an in-memory object for AzureMonitorWorkspaceIntegration.
2339

2440
### [Remove-AzGrafana](Remove-AzGrafana.md)
2541
Delete a workspace for Grafana resource.
2642

43+
### [Remove-AzGrafanaIntegrationFabric](Remove-AzGrafanaIntegrationFabric.md)
44+
Delete a IntegrationFabric
45+
46+
### [Remove-AzGrafanaManagedDashboard](Remove-AzGrafanaManagedDashboard.md)
47+
Delete a dashboard for Grafana resource.
48+
49+
### [Test-AzGrafanaEnterpriseDetail](Test-AzGrafanaEnterpriseDetail.md)
50+
Retrieve enterprise add-on details information
51+
2752
### [Update-AzGrafana](Update-AzGrafana.md)
28-
update a workspace for Grafana resource.
53+
Update a workspace for Grafana resource.
2954
This API is idempotent, so user can either update a new grafana or update an existing grafana.
3055

56+
### [Update-AzGrafanaIntegrationFabric](Update-AzGrafanaIntegrationFabric.md)
57+
Update a IntegrationFabric
58+
59+
### [Update-AzGrafanaManagedDashboard](Update-AzGrafanaManagedDashboard.md)
60+
Update a dashboard for Grafana resource.
61+

0 commit comments

Comments
 (0)