Azure Alerts connector powered by Jitterbit
To configure an Azure Alerts connection
The Azure Alerts connection is configured by using the Azure Alerts connector to establish access to the Azure Alerts endpoint. Once a connection is established, create operations that include activities associated with that connection to be used either as a source, to provide data to an operation, or as a target, to consume data in an operation.
To create or edit an Azure Alerts connection, complete the following steps:
- From the design canvas, open the
Connectivity tab of the design component palette.
- To open the configuration screen to configure an Azure Alerts connection:
- To configure a new Azure Alerts connection, use the Show dropdown to filter on Connectors, and then click the Azure Alerts connector block:
- To configure an existing Azure Alerts connection, use the Show dropdown to filter on Endpoints, and then double-click the Azure Alerts connector block:
- To configure a new Azure Alerts connection, use the Show dropdown to filter on Connectors, and then click the Azure Alerts connector block:
On the configuration screen, enter the values described in the following table:
Field name
Action
Endpoint Name
Enter a name to use to identify the Azure Alerts connection. The name must be unique for each Azure Alerts connection and must not contain forward slashes (/) or colons (:). This name is also used to identify the Azure Alerts endpoint, which refers to both a specific connection and its activities.
TENANT ID
Enter the tenant ID.
CLIENT ID
Enter the client ID.
CLIENT SECRET
Enter the client secret.
Click Save Changes.
After configuring an Azure Alerts connection, you can configure one or more Azure Alerts activities associated with that connection to be used either as a source (to provide data within an operation) or as a target (to consume data within an operation). For more information about creating an activity, see Creating an Azure DevOps activity.
To create an Azure Alerts activity
- From the design canvas, open the Connectivity tab
of the design component palette.
Use the Show dropdown to filter on Endpoints, and then click the Azure Alerts connection block to display activities that are available to be used with an Azure Alerts connection:
The following activities are available. For more information about configuring these activities, see the specific activity sections.Activity name
Description
Finds alerts at an Azure Alerts endpoint and is intended to be used as a source in an operation.
Finds an alert based on the ID at an Azure Alerts endpoint and is intended to be used as a source in an operation.
Places the status update for the alert into an Azure Alerts endpoint and is intended to be used as a target in an operation.
- To create an activity that can be configured, drag the activity block from the palette to the operation.
For more information about the parts of an operation and adding activities to operations, see Operation Creation and Configuration .
To configure an Azure Alerts Get All Alerts activity
An Azure Alerts Get All Alerts activity finds an alert at an Azure Alerts endpoint and is intended to be used as a source to provide data to an operation. After configuring an Azure Alerts connection, you can configure as many Azure Alerts activities as you like for each Azure Alerts connection.
To configure an Azure Alerts Get All Alerts Activity, complete the following steps:
- After you add the activity to an operation, double-click the activity brick.
On the configuration screen, enter a name and specify the activity settings:
Field name
Action
Name
Enter a name to identify the Azure Alerts Get All Alerts activity. The name must be unique for each Azure Alerts Get All Alerts activity and must not contain forward slashes (/) or colons (:).
Resource ID
Enter the ID of the resource for which the alerts are generated.
Maximum number of records to be processed
Enter a number for the maximum number of records to be retrieved.
Leave the field blank for unlimited number of records.
- Click Next.
Review the request and response data schemas.
The data schemas list the fields available for the Azure Alerts Get All Alerts activity.
If the operation uses a transformation, the data schemas are displayed again later during the transformation mapping process. In the transformation mapping process, map target fields by using source objects, scripts, variables, custom values, and more. The Azure Alerts connector uses the Azure Alerts REST API version 2019-03-01. For more information about the schema fields, see the API documentation.- Click Finished.
After the activity is created, menu actions for that activity are accessible from the project pane in either the Workflows or the Components tab, and from the design canvas. For more information, see Activity Actions Menu.
To complete the configuration of the operation, add and configure other activities, transformations, or scripts as steps in an operation. You can also configure an operation's settings, which include the ability to chain operations together that are in the same or different workflows.
Azure Alerts Get All Alerts activity operation patterns
Azure Alerts Get All Alerts activities can be used as a source with these operation patterns:
- Transformation Pattern
- Two-Target Archive Pattern (as the first source only)
- Two-Transformation Pattern (as the first or second source)
Other patterns are not valid using Azure DevOps Create Webhook activities. For more information on the validation patterns, see the Operation Validity page.
A typical use case is to use an Azure Alerts Get All Alerts activity in the Two-Transformation Pattern. In this example, the first transformation (Azure Alerts Get All Alerts Request) creates a request structure that is passed to the Azure Alerts Get All Alerts activity. The second transformation (Azure Alerts Get All Alerts Response) receives the response structure, which is then written to a variable by a Variable Write activity (Write Azure Alerts Get All Alerts Response) and a message is then logged by the Write to Operation Log script:
When ready, deploy and run the operation and validate behavior by checking the operation logs.
To configure an Azure Alerts Get By ID activity
An Azure Alerts Get By ID activity retrieves alert data based on the Alert ID from an Azure Alerts endpoint and is intended to be used as a source to provide data to an operation. After configuring an Azure Alerts connection, you can configure as many Azure Alerts activities as you like for each Azure Alerts connection.
To configure Azure Alerts Get By ID activity, complete the following steps:
- After you add the activity to an operation, double-click the activity block.
On the configuration screen, enter a name and specify the activity settings:
Field name
Action
Name
Enter a name to identify the Azure Alerts Get By Id activity. The name must be unique for each Azure Alerts Get By Id activity and must not contain forward slashes (/) or colons (:).
Alert ID
Enter the ID of the alert to retrieve.
Resource ID
Enter the ID of the resource for which the alert has been created.
- Click Next.
Review the request and response data schemas.
The data schemas list the field available for the Azure Alerts Get By ID activity.
If the operation uses a transformation, the data schemas are displayed again later during the transformation mapping process. In the transformation mapping process, map target fields by using source objects, scripts, variables, custom values, and more.
The Azure Alerts connector uses the Azure Alerts REST API version 2019-03-01. For more information about the schema fields, see the API documentation.- Click Finished.
After the activity is created, menu actions for that activity are accessible from the project pane in either the Workflows or the Components tab, and from the design canvas. For more information, see Activity Actions Menu.
To complete the configuration of the operation, add and configure other activities, transformations, or scripts as steps in an operation. You can also configure an operation's settings, which include the ability to chain operations together that are in the same or different workflows.
Azure Alerts Get By Id activity operation patterns
Azure Alerts Get By Id activities can be used as a source with these operation patterns:
- Transformation Pattern
- Two-Target Archive Pattern (as the first source only)
- Two-Transformation Pattern (as the first or second source)
Other patterns are not valid using Azure DevOps Create Webhook activities. For more information on the validation patterns, see the Operation Validity page.
A typical use case is to use an Azure Alerts Get By Id activity in the Two-Transformation Pattern. In this example, the first transformation (Azure Alerts Get By Id Request) creates a request structure that is passed to the Azure Alerts Get By Id activity. The second transformation (Azure Alerts Get By Id Response) receives the response structure, which is then written to a variable by a Variable Write activity (Write Azure Alerts Get By Id Response) and a message is then logged by the Write to Operation Log script:
When ready, deploy and run the operation and validate behavior by checking the operation logs.
Configuring an Azure Alerts Change Alert Status activity
An Azure Alerts Change Alert Status activity places the alert status value into an Azure Alerts endpoint and is intended to be used as a target to consume data in an operation. After configuring an Azure Alerts connection, you can configure as many Azure Alerts activities as you like for each Azure Alerts connection.
To configure an Azure Alerts Change Alert Status activity, complete the following steps:
- After you add the activity to an operation, double-click the activity brick.
On the configuration screen, enter a name and specify the activity settings:
Field name
Action
Name
Enter a name to identify the Azure Alerts Change Alert Status activity. The name must be unique for each Azure Alerts Change Alert Status activity and must not contain forward slashes (/) or colons (:).
Resource ID
Enter the ID of the resource for which the alert is generated.
Alert ID
Enter the ID of the alert for which you want to change the status.
Alert State
Enter the state to which you want to change the alert status.
- Click Next.
Review the request and response data schemas.
The data schemas list the fields available for the Azure Alerts Change Status activity.
If the operation uses a transformation, the data schemas are displayed again later during the transformation mapping process. In the transformation mapping process, map target fields by using source objects, scripts, variables, custom values, and more.
The Azure Alerts connector uses the Azure Alerts REST API version 2019-03-01. For more information about the schema fields, see the API documentation.- Click Finished.
After the activity is created, menu actions for that activity are accessible from the project pane in either the Workflows or the Components tab, and from the design canvas. For more information, see Activity Actions Menu.
To complete the configuration of the operation, add and configure other activities, transformations, or scripts as steps in an operation. You can also configure an operation's settings, which include the ability to chain operations together that are in the same or different workflows.
Azure Alerts Change Alert Status activity operation patterns
After configuring an Azure Alerts Change Alert Status activity, complete the configuration of the operation by adding and configuring other activities, transformations, or scripts as operation steps. You can also configure an operation's operation settings, which include the ability to chain operations together that are in the same or different workflows.
Azure Alerts Change Alert Status activities can be used as a target with these operation patterns:
- Transformation Pattern
- Two-Transformation Pattern (as the first or second source)
Other patterns are not valid using Azure DevOps Create Webhook activities. For more information on the validation patterns, see the Operation Validity page.
A typical use case is to use an Azure Alerts Change Alert Status activity in the Two-Transformation Pattern. In this example, the first transformation (Azure Alerts Change Alert Status Request) creates a request structure that is passed to the Azure Alerts Change Alert Status activity. The second transformation (Azure Alerts Change Alert Status Response) receives the response structure, which is then written to a variable by a Variable Write activity (Write Azure Alerts Change Alert Status Response) and a message is then logged by the Write to Operation Log script:
When ready, deploy and run the operation and validate behavior by checking the operation logs.