GrafanaExtensions.GetManagedDashboards Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetManagedDashboards(ResourceGroupResource) |
Gets a collection of ManagedDashboardResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetManagedDashboards() instead.</item> |
GetManagedDashboards(SubscriptionResource, CancellationToken) |
List all resources of dashboards under the specified subscription.
|
GetManagedDashboards(ResourceGroupResource)
- Source:
- GrafanaExtensions.cs
Gets a collection of ManagedDashboardResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetManagedDashboards() instead.</item>
public static Azure.ResourceManager.Grafana.ManagedDashboardCollection GetManagedDashboards(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetManagedDashboards : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Grafana.ManagedDashboardCollection
<Extension()>
Public Function GetManagedDashboards (resourceGroupResource As ResourceGroupResource) As ManagedDashboardCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of ManagedDashboardResources and their operations over a ManagedDashboardResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetManagedDashboards(SubscriptionResource, CancellationToken)
- Source:
- GrafanaExtensions.cs
List all resources of dashboards under the specified subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Dashboard/dashboards
- Operation Id: ManagedDashboard_ListBySubscription
- Default Api Version: 2024-11-01-preview
- Resource: ManagedDashboardResource
public static Azure.Pageable<Azure.ResourceManager.Grafana.ManagedDashboardResource> GetManagedDashboards(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetManagedDashboards : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Grafana.ManagedDashboardResource>
<Extension()>
Public Function GetManagedDashboards (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ManagedDashboardResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of ManagedDashboardResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.