Share via


GrafanaExtensions.GetManagedDashboard Method

Definition

Get the properties of a specific dashboard for grafana resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards/{dashboardName}
  • Operation Id: ManagedDashboard_Get
  • Default Api Version: 2024-11-01-preview
  • Resource: ManagedDashboardResource
<item>MockingTo mock this method, please mock GetManagedDashboard(String, CancellationToken) instead.</item>
public static Azure.Response<Azure.ResourceManager.Grafana.ManagedDashboardResource> GetManagedDashboard(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string dashboardName, System.Threading.CancellationToken cancellationToken = default);
static member GetManagedDashboard : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Grafana.ManagedDashboardResource>
<Extension()>
Public Function GetManagedDashboard (resourceGroupResource As ResourceGroupResource, dashboardName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ManagedDashboardResource)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

dashboardName
String

The name of the Azure Managed Dashboard.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or dashboardName is null.

dashboardName is an empty string, and was expected to be non-empty.

Applies to