work_item_configurations
Creates, updates, deletes, gets or lists a work_item_configurations
resource.
Overview
Name | work_item_configurations |
Type | Resource |
Id | azure.application_insights.work_item_configurations |
Fields
Name | Datatype | Description |
---|---|---|
ConfigDisplayName | string | Configuration friendly name |
ConfigProperties | string | Serialized JSON object for detailed properties |
ConnectorId | string | Connector identifier where work item is created |
Id | string | Unique Id for work item |
IsDefault | boolean | Boolean value indicating whether configuration is default |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | resourceGroupName, resourceName, subscriptionId | Gets the list work item configurations that exist for the application |
create | INSERT | resourceGroupName, resourceName, subscriptionId | Create a work item configuration for an Application Insights component. |
delete | DELETE | resourceGroupName, resourceName, subscriptionId, workItemConfigId | Delete 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.application_insights.work_item_configurations (
resourceGroupName,
resourceName,
subscriptionId,
ConnectorId,
ConnectorDataConfiguration,
ValidateOnly,
WorkItemProperties
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ ConnectorId }}',
'{{ ConnectorDataConfiguration }}',
{{ ValidateOnly }},
'{{ WorkItemProperties }}'
;
- name: your_resource_model_name
props:
- name: ConnectorId
value: string
- name: ConnectorDataConfiguration
value: string
- name: ValidateOnly
value: boolean
- name: WorkItemProperties
value: object
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 }}';