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

ProactiveDetectionConfigurations class

表示 ProactiveDetectionConfigurations 的类。

构造函数

ProactiveDetectionConfigurations(ApplicationInsightsManagementClientContext)

创建 ProactiveDetectionConfigurations。

方法

get(string, string, string, RequestOptionsBase)

获取此配置 ID 的 ProactiveDetection 配置。

get(string, string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration>)
get(string, string, string, ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration>)
list(string, string, RequestOptionsBase)

获取 Application Insights 组件的 ProactiveDetection 配置列表。

list(string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration[]>)
list(string, string, ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration[]>)
update(string, string, string, ApplicationInsightsComponentProactiveDetectionConfiguration, RequestOptionsBase)

更新此配置 ID 的 ProactiveDetection 配置。

update(string, string, string, ApplicationInsightsComponentProactiveDetectionConfiguration, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration>)
update(string, string, string, ApplicationInsightsComponentProactiveDetectionConfiguration, ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration>)

构造函数详细信息

ProactiveDetectionConfigurations(ApplicationInsightsManagementClientContext)

创建 ProactiveDetectionConfigurations。

new ProactiveDetectionConfigurations(client: ApplicationInsightsManagementClientContext)

参数

client
ApplicationInsightsManagementClientContext

对服务客户端的引用。

方法详细信息

get(string, string, string, RequestOptionsBase)

获取此配置 ID 的 ProactiveDetection 配置。

function get(resourceGroupName: string, resourceName: string, configurationId: string, options?: RequestOptionsBase): Promise<ProactiveDetectionConfigurationsGetResponse>

参数

resourceGroupName

string

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

resourceName

string

Application Insights 组件资源的名称。

configurationId

string

ProactiveDetection 配置 ID。 这在 Application Insights 组件中是唯一的。

options
RequestOptionsBase

可选参数

返回

Promise<Models.ProactiveDetectionConfigurationsGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration>)

function get(resourceGroupName: string, resourceName: string, configurationId: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration>)

参数

resourceGroupName

string

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

resourceName

string

Application Insights 组件资源的名称。

configurationId

string

ProactiveDetection 配置 ID。 这在 Application Insights 组件中是唯一的。

options
RequestOptionsBase

可选参数

get(string, string, string, ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration>)

function get(resourceGroupName: string, resourceName: string, configurationId: string, callback: ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration>)

参数

resourceGroupName

string

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

resourceName

string

Application Insights 组件资源的名称。

configurationId

string

ProactiveDetection 配置 ID。 这在 Application Insights 组件中是唯一的。

list(string, string, RequestOptionsBase)

获取 Application Insights 组件的 ProactiveDetection 配置列表。

function list(resourceGroupName: string, resourceName: string, options?: RequestOptionsBase): Promise<ProactiveDetectionConfigurationsListResponse>

参数

resourceGroupName

string

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

resourceName

string

Application Insights 组件资源的名称。

options
RequestOptionsBase

可选参数

返回

Promise<Models.ProactiveDetectionConfigurationsListResponse>

list(string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration[]>)

function list(resourceGroupName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration[]>)

参数

resourceGroupName

string

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

resourceName

string

Application Insights 组件资源的名称。

options
RequestOptionsBase

可选参数

list(string, string, ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration[]>)

function list(resourceGroupName: string, resourceName: string, callback: ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration[]>)

参数

resourceGroupName

string

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

resourceName

string

Application Insights 组件资源的名称。

update(string, string, string, ApplicationInsightsComponentProactiveDetectionConfiguration, RequestOptionsBase)

更新此配置 ID 的 ProactiveDetection 配置。

function update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: ApplicationInsightsComponentProactiveDetectionConfiguration, options?: RequestOptionsBase): Promise<ProactiveDetectionConfigurationsUpdateResponse>

参数

resourceGroupName

string

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

resourceName

string

Application Insights 组件资源的名称。

configurationId

string

ProactiveDetection 配置 ID。 这在 Application Insights 组件中是唯一的。

proactiveDetectionProperties
ApplicationInsightsComponentProactiveDetectionConfiguration

需要指定的属性来更新 ProactiveDetection 配置。

options
RequestOptionsBase

可选参数

返回

Promise<Models.ProactiveDetectionConfigurationsUpdateResponse>

update(string, string, string, ApplicationInsightsComponentProactiveDetectionConfiguration, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration>)

function update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: ApplicationInsightsComponentProactiveDetectionConfiguration, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration>)

参数

resourceGroupName

string

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

resourceName

string

Application Insights 组件资源的名称。

configurationId

string

ProactiveDetection 配置 ID。 这在 Application Insights 组件中是唯一的。

proactiveDetectionProperties
ApplicationInsightsComponentProactiveDetectionConfiguration

需要指定的属性来更新 ProactiveDetection 配置。

options
RequestOptionsBase

可选参数

update(string, string, string, ApplicationInsightsComponentProactiveDetectionConfiguration, ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration>)

function update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: ApplicationInsightsComponentProactiveDetectionConfiguration, callback: ServiceCallback<ApplicationInsightsComponentProactiveDetectionConfiguration>)

参数

resourceGroupName

string

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

resourceName

string

Application Insights 组件资源的名称。

configurationId

string

ProactiveDetection 配置 ID。 这在 Application Insights 组件中是唯一的。

proactiveDetectionProperties
ApplicationInsightsComponentProactiveDetectionConfiguration

需要指定的属性来更新 ProactiveDetection 配置。