WorkItemConfigurations class

Class representing a WorkItemConfigurations.

Constructors

WorkItemConfigurations(ApplicationInsightsManagementClientContext)

Create a WorkItemConfigurations.

Methods

create(string, string, WorkItemCreateConfiguration, RequestOptionsBase)

Create a work item configuration for an Application Insights component.

create(string, string, WorkItemCreateConfiguration, RequestOptionsBase, ServiceCallback<WorkItemConfiguration>)
create(string, string, WorkItemCreateConfiguration, ServiceCallback<WorkItemConfiguration>)
deleteMethod(string, string, string, RequestOptionsBase)

Delete a work item configuration of an Application Insights component.

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
getDefault(string, string, RequestOptionsBase)

Gets default work item configurations that exist for the application

getDefault(string, string, RequestOptionsBase, ServiceCallback<WorkItemConfiguration>)
getDefault(string, string, ServiceCallback<WorkItemConfiguration>)
getItem(string, string, string, RequestOptionsBase)

Gets specified work item configuration for an Application Insights component.

getItem(string, string, string, RequestOptionsBase, ServiceCallback<WorkItemConfiguration>)
getItem(string, string, string, ServiceCallback<WorkItemConfiguration>)
list(string, string, RequestOptionsBase)

Gets the list work item configurations that exist for the application

list(string, string, RequestOptionsBase, ServiceCallback<WorkItemConfigurationsListResult>)
list(string, string, ServiceCallback<WorkItemConfigurationsListResult>)
updateItem(string, string, string, WorkItemCreateConfiguration, RequestOptionsBase)

Update a work item configuration for an Application Insights component.

updateItem(string, string, string, WorkItemCreateConfiguration, RequestOptionsBase, ServiceCallback<WorkItemConfiguration>)
updateItem(string, string, string, WorkItemCreateConfiguration, ServiceCallback<WorkItemConfiguration>)

Constructor Details

WorkItemConfigurations(ApplicationInsightsManagementClientContext)

Create a WorkItemConfigurations.

new WorkItemConfigurations(client: ApplicationInsightsManagementClientContext)

Parameters

client
ApplicationInsightsManagementClientContext

Reference to the service client.

Method Details

create(string, string, WorkItemCreateConfiguration, RequestOptionsBase)

Create a work item configuration for an Application Insights component.

function create(resourceGroupName: string, resourceName: string, workItemConfigurationProperties: WorkItemCreateConfiguration, options?: RequestOptionsBase): Promise<WorkItemConfigurationsCreateResponse>

Parameters

resourceGroupName

string

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

resourceName

string

The name of the Application Insights component resource.

workItemConfigurationProperties
WorkItemCreateConfiguration

Properties that need to be specified to create a work item configuration of a Application Insights component.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.WorkItemConfigurationsCreateResponse>

create(string, string, WorkItemCreateConfiguration, RequestOptionsBase, ServiceCallback<WorkItemConfiguration>)

function create(resourceGroupName: string, resourceName: string, workItemConfigurationProperties: WorkItemCreateConfiguration, options: RequestOptionsBase, callback: ServiceCallback<WorkItemConfiguration>)

Parameters

resourceGroupName

string

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

resourceName

string

The name of the Application Insights component resource.

workItemConfigurationProperties
WorkItemCreateConfiguration

Properties that need to be specified to create a work item configuration of a Application Insights component.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<WorkItemConfiguration>

The callback

create(string, string, WorkItemCreateConfiguration, ServiceCallback<WorkItemConfiguration>)

function create(resourceGroupName: string, resourceName: string, workItemConfigurationProperties: WorkItemCreateConfiguration, callback: ServiceCallback<WorkItemConfiguration>)

Parameters

resourceGroupName

string

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

resourceName

string

The name of the Application Insights component resource.

workItemConfigurationProperties
WorkItemCreateConfiguration

Properties that need to be specified to create a work item configuration of a Application Insights component.

callback

ServiceCallback<WorkItemConfiguration>

The callback

deleteMethod(string, string, string, RequestOptionsBase)

Delete a work item configuration of an Application Insights component.

function deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

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

resourceName

string

The name of the Application Insights component resource.

workItemConfigId

string

The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

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

function deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

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

resourceName

string

The name of the Application Insights component resource.

workItemConfigId

string

The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

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

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

Parameters

resourceGroupName

string

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

resourceName

string

The name of the Application Insights component resource.

workItemConfigId

string

The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration

callback

ServiceCallback<void>

The callback

getDefault(string, string, RequestOptionsBase)

Gets default work item configurations that exist for the application

function getDefault(resourceGroupName: string, resourceName: string, options?: RequestOptionsBase): Promise<WorkItemConfigurationsGetDefaultResponse>

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.WorkItemConfigurationsGetDefaultResponse>

getDefault(string, string, RequestOptionsBase, ServiceCallback<WorkItemConfiguration>)

function getDefault(resourceGroupName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<WorkItemConfiguration>)

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

callback

ServiceCallback<WorkItemConfiguration>

The callback

getDefault(string, string, ServiceCallback<WorkItemConfiguration>)

function getDefault(resourceGroupName: string, resourceName: string, callback: ServiceCallback<WorkItemConfiguration>)

Parameters

resourceGroupName

string

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

resourceName

string

The name of the Application Insights component resource.

callback

ServiceCallback<WorkItemConfiguration>

The callback

getItem(string, string, string, RequestOptionsBase)

Gets specified work item configuration for an Application Insights component.

function getItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: RequestOptionsBase): Promise<WorkItemConfigurationsGetItemResponse>

Parameters

resourceGroupName

string

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

resourceName

string

The name of the Application Insights component resource.

workItemConfigId

string

The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.WorkItemConfigurationsGetItemResponse>

getItem(string, string, string, RequestOptionsBase, ServiceCallback<WorkItemConfiguration>)

function getItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, options: RequestOptionsBase, callback: ServiceCallback<WorkItemConfiguration>)

Parameters

resourceGroupName

string

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

resourceName

string

The name of the Application Insights component resource.

workItemConfigId

string

The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<WorkItemConfiguration>

The callback

getItem(string, string, string, ServiceCallback<WorkItemConfiguration>)

function getItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, callback: ServiceCallback<WorkItemConfiguration>)

Parameters

resourceGroupName

string

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

resourceName

string

The name of the Application Insights component resource.

workItemConfigId

string

The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration

callback

ServiceCallback<WorkItemConfiguration>

The callback

list(string, string, RequestOptionsBase)

Gets the list work item configurations that exist for the application

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

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.WorkItemConfigurationsListResponse>

list(string, string, RequestOptionsBase, ServiceCallback<WorkItemConfigurationsListResult>)

function list(resourceGroupName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<WorkItemConfigurationsListResult>)

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

function list(resourceGroupName: string, resourceName: string, callback: ServiceCallback<WorkItemConfigurationsListResult>)

Parameters

resourceGroupName

string

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

resourceName

string

The name of the Application Insights component resource.

updateItem(string, string, string, WorkItemCreateConfiguration, RequestOptionsBase)

Update a work item configuration for an Application Insights component.

function updateItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, workItemConfigurationProperties: WorkItemCreateConfiguration, options?: RequestOptionsBase): Promise<WorkItemConfigurationsUpdateItemResponse>

Parameters

resourceGroupName

string

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

resourceName

string

The name of the Application Insights component resource.

workItemConfigId

string

The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration

workItemConfigurationProperties
WorkItemCreateConfiguration

Properties that need to be specified to update a work item configuration for this Application Insights component.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.WorkItemConfigurationsUpdateItemResponse>

updateItem(string, string, string, WorkItemCreateConfiguration, RequestOptionsBase, ServiceCallback<WorkItemConfiguration>)

function updateItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, workItemConfigurationProperties: WorkItemCreateConfiguration, options: RequestOptionsBase, callback: ServiceCallback<WorkItemConfiguration>)

Parameters

resourceGroupName

string

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

resourceName

string

The name of the Application Insights component resource.

workItemConfigId

string

The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration

workItemConfigurationProperties
WorkItemCreateConfiguration

Properties that need to be specified to update a work item configuration for this Application Insights component.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<WorkItemConfiguration>

The callback

updateItem(string, string, string, WorkItemCreateConfiguration, ServiceCallback<WorkItemConfiguration>)

function updateItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, workItemConfigurationProperties: WorkItemCreateConfiguration, callback: ServiceCallback<WorkItemConfiguration>)

Parameters

resourceGroupName

string

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

resourceName

string

The name of the Application Insights component resource.

workItemConfigId

string

The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration

workItemConfigurationProperties
WorkItemCreateConfiguration

Properties that need to be specified to update a work item configuration for this Application Insights component.

callback

ServiceCallback<WorkItemConfiguration>

The callback