Dashboards interface
Interface representing a Dashboards.
Methods
create |
Creates or updates a Dashboard. |
delete(string, string, Dashboards |
Deletes the Dashboard. |
get(string, string, Dashboards |
Gets the Dashboard. |
list |
Gets all the Dashboards within a resource group. |
list |
Gets all the dashboards within a subscription. |
update(string, string, Patchable |
Updates an existing Dashboard. |
Method Details
createOrUpdate(string, string, Dashboard, DashboardsCreateOrUpdateOptionalParams)
Creates or updates a Dashboard.
function createOrUpdate(resourceGroupName: string, dashboardName: string, dashboard: Dashboard, options?: DashboardsCreateOrUpdateOptionalParams): Promise<Dashboard>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- dashboardName
-
string
The name of the dashboard.
- dashboard
- Dashboard
The parameters required to create or update a dashboard.
The options parameters.
Returns
Promise<Dashboard>
delete(string, string, DashboardsDeleteOptionalParams)
Deletes the Dashboard.
function delete(resourceGroupName: string, dashboardName: string, options?: DashboardsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- dashboardName
-
string
The name of the dashboard.
- options
- DashboardsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, DashboardsGetOptionalParams)
Gets the Dashboard.
function get(resourceGroupName: string, dashboardName: string, options?: DashboardsGetOptionalParams): Promise<Dashboard>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- dashboardName
-
string
The name of the dashboard.
- options
- DashboardsGetOptionalParams
The options parameters.
Returns
Promise<Dashboard>
listByResourceGroup(string, DashboardsListByResourceGroupOptionalParams)
Gets all the Dashboards within a resource group.
function listByResourceGroup(resourceGroupName: string, options?: DashboardsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Dashboard, Dashboard[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
The options parameters.
Returns
listBySubscription(DashboardsListBySubscriptionOptionalParams)
Gets all the dashboards within a subscription.
function listBySubscription(options?: DashboardsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Dashboard, Dashboard[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, PatchableDashboard, DashboardsUpdateOptionalParams)
Updates an existing Dashboard.
function update(resourceGroupName: string, dashboardName: string, dashboard: PatchableDashboard, options?: DashboardsUpdateOptionalParams): Promise<Dashboard>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- dashboardName
-
string
The name of the dashboard.
- dashboard
- PatchableDashboard
The updatable fields of a Dashboard.
- options
- DashboardsUpdateOptionalParams
The options parameters.
Returns
Promise<Dashboard>