Skip to content

Latest commit

 

History

History
92 lines (60 loc) · 4.11 KB

connectors-create-api-container-instances.md

File metadata and controls

92 lines (60 loc) · 4.11 KB
titledescriptionservicesms.servicems.suiteauthorms.authorms.managerms.reviewerms.topicms.date
Deploy & manage Azure Container Instances
Automate tasks and workflows that create and manage container deployments in Azure Container Instances by using Azure Logic Apps.
logic-apps, container-instances
azure-logic-apps
integration
dlepow
danlep
gwallace
estfan, macolso
how-to
01/04/2024

Deploy and manage Azure Container Instances by using Azure Logic Apps

[!INCLUDE logic-apps-sku-consumption]

With Azure Logic Apps and the Azure Container Instance connector, you can set up automated tasks and workflows that deploy and manage container groups. The Container Instance connector supports the following actions:

  • Create or delete a container group
  • Get the properties of a container group
  • Get a list of container groups
  • Get the logs of a container instance

Use these actions in your logic apps for tasks such as running a container workload in response to a Logic Apps trigger. You can also have other actions use the output from Container Instance actions.

This connector provides only actions, so to start your logic app, use a separate trigger, such as a Recurrence trigger to run a container workload on a regular schedule. Or, you might have need to trigger a container group deployment after an event such as arrival of an Outlook e-mail.

If you're new to logic apps, review What is Azure Logic Apps?

Prerequisites

Add a Container Instance action

[!INCLUDE Create connection general intro]

  1. Sign in to the Azure portal, and open your logic app in Logic App Designer, if not open already.

  2. Choose a path:

    • Under the last step where you want to add an action, choose New step.

      -or-

    • Between the steps where you want to add an action, move your pointer over the arrow between steps. Choose the plus sign (+) that appears, and then select Add an action.

  3. In the search box, enter "container instance" as your filter. Under the actions list, select the Azure Container Instance connector action you want.

  4. Provide a name for your connection.

  5. Provide the necessary details for your selected action and continue building your logic app's workflow.

For example, select Create container group and enter the properties for a container group and one or more container instances in the group, as shown in the following image (partial detail):

Create container group

Connector reference

For technical details about triggers, actions, and limits, which are described by the connector's OpenAPI (formerly Swagger) description, review the connector's reference page or container group YAML reference.

Next steps

close