GrafanaExtensions.GetManagedGrafanas 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
GetManagedGrafanas(ResourceGroupResource) |
Gets a collection of ManagedGrafanaResources in the ResourceGroupResource. MockingTo mock this method, please mock GetManagedGrafanas() instead. |
GetManagedGrafanas(SubscriptionResource, CancellationToken) |
List all resources of workspaces for Grafana under the specified subscription.
|
GetManagedGrafanas(ResourceGroupResource)
- Source:
- GrafanaExtensions.cs
- Source:
- GrafanaExtensions.cs
Gets a collection of ManagedGrafanaResources in the ResourceGroupResource. MockingTo mock this method, please mock GetManagedGrafanas() instead.
public static Azure.ResourceManager.Grafana.ManagedGrafanaCollection GetManagedGrafanas (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetManagedGrafanas : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Grafana.ManagedGrafanaCollection
<Extension()>
Public Function GetManagedGrafanas (resourceGroupResource As ResourceGroupResource) As ManagedGrafanaCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of ManagedGrafanaResources and their operations over a ManagedGrafanaResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetManagedGrafanas(SubscriptionResource, CancellationToken)
- Source:
- GrafanaExtensions.cs
- Source:
- GrafanaExtensions.cs
List all resources of workspaces for Grafana under the specified subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Dashboard/grafana
- Operation Id: Grafana_List
public static Azure.Pageable<Azure.ResourceManager.Grafana.ManagedGrafanaResource> GetManagedGrafanas (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetManagedGrafanas : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Grafana.ManagedGrafanaResource>
<Extension()>
Public Function GetManagedGrafanas (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ManagedGrafanaResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of ManagedGrafanaResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET