ProactiveDetectionConfigurations class

Class representing a ProactiveDetectionConfigurations.

Constructors

ProactiveDetectionConfigurations(ApplicationInsightsManagementClientContext)

Create a ProactiveDetectionConfigurations.

Methods

get(string, string, string, RequestOptionsBase)

Get the ProactiveDetection configuration for this configuration id.

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

Gets a list of ProactiveDetection configurations of an Application Insights component.

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

Update the ProactiveDetection configuration for this configuration id.

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

Constructor Details

ProactiveDetectionConfigurations(ApplicationInsightsManagementClientContext)

Create a ProactiveDetectionConfigurations.

new ProactiveDetectionConfigurations(client: ApplicationInsightsManagementClientContext)

Parameters

client
ApplicationInsightsManagementClientContext

Reference to the service client.

Method Details

get(string, string, string, RequestOptionsBase)

Get the ProactiveDetection configuration for this configuration id.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

configurationId

string

The ProactiveDetection configuration ID. This is unique within a Application Insights component.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ProactiveDetectionConfigurationsGetResponse>

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

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

configurationId

string

The ProactiveDetection configuration ID. This is unique within a Application Insights component.

options
RequestOptionsBase

The optional parameters

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

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

configurationId

string

The ProactiveDetection configuration ID. This is unique within a Application Insights component.

list(string, string, RequestOptionsBase)

Gets a list of ProactiveDetection configurations of an Application Insights component.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ProactiveDetectionConfigurationsListResponse>

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

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

options
RequestOptionsBase

The optional parameters

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

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

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

Update the ProactiveDetection configuration for this configuration id.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

configurationId

string

The ProactiveDetection configuration ID. This is unique within a Application Insights component.

proactiveDetectionProperties
ApplicationInsightsComponentProactiveDetectionConfiguration

Properties that need to be specified to update the ProactiveDetection configuration.

options
RequestOptionsBase

The optional parameters

Returns

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>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

configurationId

string

The ProactiveDetection configuration ID. This is unique within a Application Insights component.

proactiveDetectionProperties
ApplicationInsightsComponentProactiveDetectionConfiguration

Properties that need to be specified to update the ProactiveDetection configuration.

options
RequestOptionsBase

The optional parameters

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

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

configurationId

string

The ProactiveDetection configuration ID. This is unique within a Application Insights component.

proactiveDetectionProperties
ApplicationInsightsComponentProactiveDetectionConfiguration

Properties that need to be specified to update the ProactiveDetection configuration.