你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Dashboards interface

表示仪表板的接口。

方法

createOrUpdate(string, string, Dashboard, DashboardsCreateOrUpdateOptionalParams)

创建或更新仪表板。

delete(string, string, DashboardsDeleteOptionalParams)

删除仪表板。

get(string, string, DashboardsGetOptionalParams)

获取仪表板。

listByResourceGroup(string, DashboardsListByResourceGroupOptionalParams)

获取资源组中的所有仪表板。

listBySubscription(DashboardsListBySubscriptionOptionalParams)

获取订阅中的所有仪表板。

update(string, string, PatchableDashboard, DashboardsUpdateOptionalParams)

更新现有仪表板。

方法详细信息

createOrUpdate(string, string, Dashboard, DashboardsCreateOrUpdateOptionalParams)

创建或更新仪表板。

function createOrUpdate(resourceGroupName: string, dashboardName: string, dashboard: Dashboard, options?: DashboardsCreateOrUpdateOptionalParams): Promise<Dashboard>

参数

resourceGroupName

string

资源组的名称。

dashboardName

string

仪表板的名称。

dashboard
Dashboard

创建或更新仪表板所需的参数。

options
DashboardsCreateOrUpdateOptionalParams

选项参数。

返回

Promise<Dashboard>

delete(string, string, DashboardsDeleteOptionalParams)

删除仪表板。

function delete(resourceGroupName: string, dashboardName: string, options?: DashboardsDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。

dashboardName

string

仪表板的名称。

options
DashboardsDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, DashboardsGetOptionalParams)

获取仪表板。

function get(resourceGroupName: string, dashboardName: string, options?: DashboardsGetOptionalParams): Promise<Dashboard>

参数

resourceGroupName

string

资源组的名称。

dashboardName

string

仪表板的名称。

options
DashboardsGetOptionalParams

选项参数。

返回

Promise<Dashboard>

listByResourceGroup(string, DashboardsListByResourceGroupOptionalParams)

获取资源组中的所有仪表板。

function listByResourceGroup(resourceGroupName: string, options?: DashboardsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Dashboard, Dashboard[], PageSettings>

参数

resourceGroupName

string

资源组的名称。

返回

listBySubscription(DashboardsListBySubscriptionOptionalParams)

获取订阅中的所有仪表板。

function listBySubscription(options?: DashboardsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Dashboard, Dashboard[], PageSettings>

参数

返回

update(string, string, PatchableDashboard, DashboardsUpdateOptionalParams)

更新现有仪表板。

function update(resourceGroupName: string, dashboardName: string, dashboard: PatchableDashboard, options?: DashboardsUpdateOptionalParams): Promise<Dashboard>

参数

resourceGroupName

string

资源组的名称。

dashboardName

string

仪表板的名称。

dashboard
PatchableDashboard

仪表板的可更新字段。

options
DashboardsUpdateOptionalParams

选项参数。

返回

Promise<Dashboard>