Skip to main content

work_item_configurations

Creates, updates, deletes, gets or lists a work_item_configurations resource.

Overview

Namework_item_configurations
TypeResource
Idazure.application_insights.work_item_configurations

Fields

NameDatatypeDescription
ConfigDisplayNamestringConfiguration friendly name
ConfigPropertiesstringSerialized JSON object for detailed properties
ConnectorIdstringConnector identifier where work item is created
IdstringUnique Id for work item
IsDefaultbooleanBoolean value indicating whether configuration is default

Methods

NameAccessible byRequired ParamsDescription
listSELECTresourceGroupName, resourceName, subscriptionIdGets the list work item configurations that exist for the application
createINSERTresourceGroupName, resourceName, subscriptionIdCreate a work item configuration for an Application Insights component.
deleteDELETEresourceGroupName, resourceName, subscriptionId, workItemConfigIdDelete a work item configuration of an Application Insights component.

SELECT examples

Gets the list work item configurations that exist for the application

SELECT
ConfigDisplayName,
ConfigProperties,
ConnectorId,
Id,
IsDefault
FROM azure.application_insights.work_item_configurations
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new work_item_configurations resource.

/*+ create */
INSERT INTO azure.application_insights.work_item_configurations (
resourceGroupName,
resourceName,
subscriptionId,
ConnectorId,
ConnectorDataConfiguration,
ValidateOnly,
WorkItemProperties
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ ConnectorId }}',
'{{ ConnectorDataConfiguration }}',
{{ ValidateOnly }},
'{{ WorkItemProperties }}'
;

DELETE example

Deletes the specified work_item_configurations resource.

/*+ delete */
DELETE FROM azure.application_insights.work_item_configurations
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workItemConfigId = '{{ workItemConfigId }}';