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

AnalyticsItems class

表示 AnalyticsItems 的类。

构造函数

AnalyticsItems(ApplicationInsightsManagementClientContext)

创建 AnalyticsItems。

方法

deleteMethod(string, string, ItemScopePath, AnalyticsItemsDeleteMethodOptionalParams)

删除 Application Insights 组件中定义的特定分析项。

deleteMethod(string, string, ItemScopePath, AnalyticsItemsDeleteMethodOptionalParams, ServiceCallback<void>)
deleteMethod(string, string, ItemScopePath, ServiceCallback<void>)
get(string, string, ItemScopePath, AnalyticsItemsGetOptionalParams)

获取在 Application Insights 组件中定义的特定分析项。

get(string, string, ItemScopePath, AnalyticsItemsGetOptionalParams, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)
get(string, string, ItemScopePath, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)
list(string, string, ItemScopePath, AnalyticsItemsListOptionalParams)

获取 Application Insights 组件中定义的分析项列表。

list(string, string, ItemScopePath, AnalyticsItemsListOptionalParams, ServiceCallback<ApplicationInsightsComponentAnalyticsItem[]>)
list(string, string, ItemScopePath, ServiceCallback<ApplicationInsightsComponentAnalyticsItem[]>)
put(string, string, ItemScopePath, ApplicationInsightsComponentAnalyticsItem, AnalyticsItemsPutOptionalParams)

在 Application Insights 组件中添加或更新特定分析项。

put(string, string, ItemScopePath, ApplicationInsightsComponentAnalyticsItem, AnalyticsItemsPutOptionalParams, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)
put(string, string, ItemScopePath, ApplicationInsightsComponentAnalyticsItem, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

构造函数详细信息

AnalyticsItems(ApplicationInsightsManagementClientContext)

创建 AnalyticsItems。

new AnalyticsItems(client: ApplicationInsightsManagementClientContext)

参数

client
ApplicationInsightsManagementClientContext

对服务客户端的引用。

方法详细信息

deleteMethod(string, string, ItemScopePath, AnalyticsItemsDeleteMethodOptionalParams)

删除 Application Insights 组件中定义的特定分析项。

function deleteMethod(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, options?: AnalyticsItemsDeleteMethodOptionalParams): Promise<RestResponse>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

Application Insights 组件资源的名称。

scopePath
ItemScopePath

枚举,指示此项目定义是否由特定用户拥有,或在有权访问 Application Insights 组件的所有用户之间共享。 可能的值包括:“analyticsItems”、“myanalyticsItems”

返回

Promise<RestResponse>

承诺<msRest.RestResponse>

deleteMethod(string, string, ItemScopePath, AnalyticsItemsDeleteMethodOptionalParams, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, options: AnalyticsItemsDeleteMethodOptionalParams, callback: ServiceCallback<void>)

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

Application Insights 组件资源的名称。

scopePath
ItemScopePath

枚举,指示此项目定义是否由特定用户拥有,或在有权访问 Application Insights 组件的所有用户之间共享。 可能的值包括:“analyticsItems”、“myanalyticsItems”

callback

ServiceCallback<void>

回调

deleteMethod(string, string, ItemScopePath, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, callback: ServiceCallback<void>)

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

Application Insights 组件资源的名称。

scopePath
ItemScopePath

枚举,指示此项目定义是否由特定用户拥有,或在有权访问 Application Insights 组件的所有用户之间共享。 可能的值包括:“analyticsItems”、“myanalyticsItems”

callback

ServiceCallback<void>

回调

get(string, string, ItemScopePath, AnalyticsItemsGetOptionalParams)

获取在 Application Insights 组件中定义的特定分析项。

function get(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, options?: AnalyticsItemsGetOptionalParams): Promise<AnalyticsItemsGetResponse>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

Application Insights 组件资源的名称。

scopePath
ItemScopePath

枚举,指示此项目定义是否由特定用户拥有,或在有权访问 Application Insights 组件的所有用户之间共享。 可能的值包括:“analyticsItems”、“myanalyticsItems”

options
AnalyticsItemsGetOptionalParams

可选参数

返回

承诺<Models.AnalyticsItemsGetResponse>

get(string, string, ItemScopePath, AnalyticsItemsGetOptionalParams, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

function get(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, options: AnalyticsItemsGetOptionalParams, callback: ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

Application Insights 组件资源的名称。

scopePath
ItemScopePath

枚举,指示此项目定义是否由特定用户拥有,或在有权访问 Application Insights 组件的所有用户之间共享。 可能的值包括:“analyticsItems”、“myanalyticsItems”

options
AnalyticsItemsGetOptionalParams

可选参数

get(string, string, ItemScopePath, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

function get(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, callback: ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

Application Insights 组件资源的名称。

scopePath
ItemScopePath

枚举,指示此项目定义是否由特定用户拥有,或在有权访问 Application Insights 组件的所有用户之间共享。 可能的值包括:“analyticsItems”、“myanalyticsItems”

list(string, string, ItemScopePath, AnalyticsItemsListOptionalParams)

获取 Application Insights 组件中定义的分析项列表。

function list(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, options?: AnalyticsItemsListOptionalParams): Promise<AnalyticsItemsListResponse>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

Application Insights 组件资源的名称。

scopePath
ItemScopePath

枚举,指示此项目定义是否由特定用户拥有,或在有权访问 Application Insights 组件的所有用户之间共享。 可能的值包括:“analyticsItems”、“myanalyticsItems”

options
AnalyticsItemsListOptionalParams

可选参数

返回

承诺<Models.AnalyticsItemsListResponse>

list(string, string, ItemScopePath, AnalyticsItemsListOptionalParams, ServiceCallback<ApplicationInsightsComponentAnalyticsItem[]>)

function list(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, options: AnalyticsItemsListOptionalParams, callback: ServiceCallback<ApplicationInsightsComponentAnalyticsItem[]>)

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

Application Insights 组件资源的名称。

scopePath
ItemScopePath

枚举,指示此项目定义是否由特定用户拥有,或在有权访问 Application Insights 组件的所有用户之间共享。 可能的值包括:“analyticsItems”、“myanalyticsItems”

options
AnalyticsItemsListOptionalParams

可选参数

list(string, string, ItemScopePath, ServiceCallback<ApplicationInsightsComponentAnalyticsItem[]>)

function list(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, callback: ServiceCallback<ApplicationInsightsComponentAnalyticsItem[]>)

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

Application Insights 组件资源的名称。

scopePath
ItemScopePath

枚举,指示此项目定义是否由特定用户拥有,或在有权访问 Application Insights 组件的所有用户之间共享。 可能的值包括:“analyticsItems”、“myanalyticsItems”

put(string, string, ItemScopePath, ApplicationInsightsComponentAnalyticsItem, AnalyticsItemsPutOptionalParams)

在 Application Insights 组件中添加或更新特定分析项。

function put(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, itemProperties: ApplicationInsightsComponentAnalyticsItem, options?: AnalyticsItemsPutOptionalParams): Promise<AnalyticsItemsPutResponse>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

Application Insights 组件资源的名称。

scopePath
ItemScopePath

枚举,指示此项目定义是否由特定用户拥有,或在有权访问 Application Insights 组件的所有用户之间共享。 可能的值包括:“analyticsItems”、“myanalyticsItems”

itemProperties
ApplicationInsightsComponentAnalyticsItem

需要指定的属性以创建新项并将其添加到 Application Insights 组件。

options
AnalyticsItemsPutOptionalParams

可选参数

返回

承诺<Models.AnalyticsItemsPutResponse>

put(string, string, ItemScopePath, ApplicationInsightsComponentAnalyticsItem, AnalyticsItemsPutOptionalParams, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

function put(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, itemProperties: ApplicationInsightsComponentAnalyticsItem, options: AnalyticsItemsPutOptionalParams, callback: ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

Application Insights 组件资源的名称。

scopePath
ItemScopePath

枚举,指示此项目定义是否由特定用户拥有,或在有权访问 Application Insights 组件的所有用户之间共享。 可能的值包括:“analyticsItems”、“myanalyticsItems”

itemProperties
ApplicationInsightsComponentAnalyticsItem

需要指定的属性以创建新项并将其添加到 Application Insights 组件。

options
AnalyticsItemsPutOptionalParams

可选参数

put(string, string, ItemScopePath, ApplicationInsightsComponentAnalyticsItem, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

function put(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, itemProperties: ApplicationInsightsComponentAnalyticsItem, callback: ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

Application Insights 组件资源的名称。

scopePath
ItemScopePath

枚举,指示此项目定义是否由特定用户拥有,或在有权访问 Application Insights 组件的所有用户之间共享。 可能的值包括:“analyticsItems”、“myanalyticsItems”

itemProperties
ApplicationInsightsComponentAnalyticsItem

需要指定的属性以创建新项并将其添加到 Application Insights 组件。