Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/Dashboard/Dashboard.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Dashboard")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.3")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.3")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.2.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.2.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]

7 changes: 4 additions & 3 deletions src/Dashboard/Dashboard.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ For information on how to develop for `Az.Dashboard`, see [how-to.md](how-to.md)
> see https://aka.ms/autorest

``` yaml
commit: 02ed6d4aac29881364f8698b4fdac9c76cd0f538
commit: a6ef905ba314503e8cfac82d63a2e790fae7991b
Copy link

Copilot AI Oct 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit hash should reference a specific commit from the Azure REST API specs repository to ensure reproducible builds. Verify that this commit hash exists and contains the expected 2025-08-01 API specification.

Copilot generated this review using guidance from repository custom instructions.
require:
- $(this-folder)/../../readme.azure.noprofile.md
input-file:
- $(repo)/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2022-08-01/grafana.json
- $(repo)/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2025-08-01/grafana.json

title: Dashboard
module-version: 0.1.0
module-version: 0.3.0
subject-prefix: Grafana

directive:
Expand Down Expand Up @@ -65,6 +65,7 @@ directive:
variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
remove: true
- where:
subject: Grafana
parameter-name: WorkspaceName
set:
parameter-name: Name
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"resourceType": "dashboards",
"apiVersion": "2025-08-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.dashboard"
},
"commands": [
{
"name": "Get-AzGrafanaDashboard",
"description": "Get the properties of a specific dashboard for grafana resource.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards/{dashboardName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.dashboard/get-azgrafanadashboard"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get the properties of a specific dashboard for grafana resource.",
"parameters": [
{
"name": "-Name",
"value": "[Path.dashboardName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Remove-AzGrafanaManagedDashboard",
"description": "Delete a dashboard for Grafana resource.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards/{dashboardName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.dashboard/remove-azgrafanamanageddashboard"
},
"parameterSets": [
{
"parameters": [
"-DashboardName <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "Delete a dashboard for Grafana resource.",
"parameters": [
{
"name": "-DashboardName",
"value": "[Path.dashboardName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"resourceType": "grafana/integrationFabrics",
"apiVersion": "2025-08-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.dashboard"
},
"commands": [
{
"name": "Get-AzGrafanaIntegrationFabric",
"description": "Get a IntegrationFabric",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/integrationFabrics/{integrationFabricName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.dashboard/get-azgrafanaintegrationfabric"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]",
"-WorkspaceName <String>"
]
}
]
},
"examples": [
{
"description": "Get a IntegrationFabric",
"parameters": [
{
"name": "-Name",
"value": "[Path.integrationFabricName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
},
{
"name": "-WorkspaceName",
"value": "[Path.workspaceName]"
}
]
}
]
},
{
"name": "Remove-AzGrafanaIntegrationFabric",
"description": "Delete a IntegrationFabric",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/integrationFabrics/{integrationFabricName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.dashboard/remove-azgrafanaintegrationfabric"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]",
"-WorkspaceName <String>"
]
}
]
},
"examples": [
{
"description": "Delete a IntegrationFabric",
"parameters": [
{
"name": "-Name",
"value": "[Path.integrationFabricName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
},
{
"name": "-WorkspaceName",
"value": "[Path.workspaceName]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"resourceType": "grafana/managedPrivateEndpoints",
"apiVersion": "2025-08-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.dashboard"
},
"commands": [
{
"name": "Get-AzGrafanaManagedPrivateEndpoint",
"description": "Get a specific managed private endpoint of a grafana resource.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/managedPrivateEndpoints/{managedPrivateEndpointName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.dashboard/get-azgrafanamanagedprivateendpoint"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]",
"-WorkspaceName <String>"
]
}
]
},
"examples": [
{
"description": "Get a specific managed private endpoint of a grafana resource.",
"parameters": [
{
"name": "-Name",
"value": "[Path.managedPrivateEndpointName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
},
{
"name": "-WorkspaceName",
"value": "[Path.workspaceName]"
}
]
}
]
},
{
"name": "Remove-AzGrafanaManagedPrivateEndpoint",
"description": "Delete a managed private endpoint for a grafana resource.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/managedPrivateEndpoints/{managedPrivateEndpointName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.dashboard/remove-azgrafanamanagedprivateendpoint"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]",
"-WorkspaceName <String>"
]
}
]
},
"examples": [
{
"description": "Delete a managed private endpoint for a grafana resource.",
"parameters": [
{
"name": "-Name",
"value": "[Path.managedPrivateEndpointName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
},
{
"name": "-WorkspaceName",
"value": "[Path.workspaceName]"
}
]
}
]
}
]
}
Loading
Loading