Поделиться через


ManagedDashboardCollection Class

Definition

A class representing a collection of ManagedDashboardResource and their operations. Each ManagedDashboardResource in the collection will belong to the same instance of ResourceGroupResource. To get a ManagedDashboardCollection instance call the GetManagedDashboards method from an instance of ResourceGroupResource.

public class ManagedDashboardCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Grafana.ManagedDashboardResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Grafana.ManagedDashboardResource>
type ManagedDashboardCollection = class
    inherit ArmCollection
    interface seq<ManagedDashboardResource>
    interface IEnumerable
    interface IAsyncEnumerable<ManagedDashboardResource>
Public Class ManagedDashboardCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ManagedDashboardResource), IEnumerable(Of ManagedDashboardResource)
Inheritance
ManagedDashboardCollection
Implements

Constructors

ManagedDashboardCollection()

Initializes a new instance of the ManagedDashboardCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, ManagedDashboardData, CancellationToken)

Create or update a dashboard for grafana resource. This API is idempotent, so user can either create a new dashboard or update an existing dashboard.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards/{dashboardName}
  • Operation Id: ManagedDashboard_Create
  • Default Api Version: 2024-11-01-preview
  • Resource: ManagedDashboardResource
CreateOrUpdateAsync(WaitUntil, String, ManagedDashboardData, CancellationToken)

Create or update a dashboard for grafana resource. This API is idempotent, so user can either create a new dashboard or update an existing dashboard.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards/{dashboardName}
  • Operation Id: ManagedDashboard_Create
  • Default Api Version: 2024-11-01-preview
  • Resource: ManagedDashboardResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards/{dashboardName}
  • Operation Id: ManagedDashboard_Get
  • Default Api Version: 2024-11-01-preview
  • Resource: ManagedDashboardResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards/{dashboardName}
  • Operation Id: ManagedDashboard_Get
  • Default Api Version: 2024-11-01-preview
  • Resource: ManagedDashboardResource
Get(String, CancellationToken)

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
GetAll(CancellationToken)

List all resources of dashboards under the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards
  • Operation Id: ManagedDashboard_List
  • Default Api Version: 2024-11-01-preview
  • Resource: ManagedDashboardResource
GetAllAsync(CancellationToken)

List all resources of dashboards under the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards
  • Operation Id: ManagedDashboard_List
  • Default Api Version: 2024-11-01-preview
  • Resource: ManagedDashboardResource
GetAsync(String, CancellationToken)

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
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards/{dashboardName}
  • Operation Id: ManagedDashboard_Get
  • Default Api Version: 2024-11-01-preview
  • Resource: ManagedDashboardResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards/{dashboardName}
  • Operation Id: ManagedDashboard_Get
  • Default Api Version: 2024-11-01-preview
  • Resource: ManagedDashboardResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ManagedDashboardResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedDashboardResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to