Panel | |
---|---|
|
...
Your use of this download is governed by Stonebranch’s Terms of Use, which are available at https://www.stonebranch.com/integration-hub/Terms-and-Privacy/Terms-of-Use/.
Overview
The Azure command-line interface (Azure CLI) is a set of commands used to create and manage Azure resources. The Azure CLI is available across Azure services and is designed to get you working quickly with Azure, with an emphasis on automation.
The Universal Task for Azure AZ CLI allows calling a single or a set of Azure CLI commands.
Version Information
Template Name | Version |
---|---|
Azure AZ CLI | 1.0.0 |
...
This Universal Task provides the following key features:
The Universal Task for Azure AZ CLI allows you to schedule and Invoke Azure CLI commands.
...
- Authentication
Authenticate with Azure using your Azure user credentials.
- Authenticate with Azure with a service principal.
- Actions
- Invoke a single Azure CLI commands.
- Invoke a list of Azure CLI commands provides via a Universal Controller Script file.
- Logging
- Chooses different log-levels.
- Other
- The Universal Task can run on any Windows or Linux Agent, without the need to install the Azure CLI.
...
This Universal Task requires the the Resolvable Credentials feature. Check that the Resolvable Credentials Permitted system property has been set to true.
To import the Universal Template into your Controller, follow the instructions here.
When the files have been imported successfully, refresh the Universal Templates list; the Universal Template will appear on the list.
Modifications of this integration, applied by users or customers, before or after import, might affect the support of this integration. For more information, refer to Integration Modifications.
Configure Universal Task
...
Field | Input type | Value | Type | Description | ||||||||||||
Authentication Method | Required | Azure user credentials | Service-principal | Choice | Choose how to authenticate to Azure.
| ||||||||||||
Azure Credentials | Required | Runtime User Runtime Password | Credential | In Case of Azure user credentials Authentication:
In case of Azure Service-principal Authentication: (Azure App Registration)
| ||||||||||||
Tenant ID | Optional | Azure Tenant ID | Text | Field is only visible in case of Authentication Method "Service-principal" | ||||||||||||
Command or Script | Required | Command | Script
Example: In Microsoft Azure AZ: az version Command or Script: version | Choice |
| ||||||||||||
AZ Command | Optional | Single Azure CLI command. | Text | Single Azure CLI command. | ||||||||||||
AZ Script | Optional | Script with a list of Azure CLI commands. | Script | The listed Azure CLI commands will be executed one after the other. | ||||||||||||
Log Level | Required | INFO | DEBUG | WARNING | ERROR | Choice | Python Log Level |
Task Examples
Single Azure CLI Command
The following example invokes a single Azure CLI Command.
The Azure CLI to be invoke is:
Code Block |
---|
az version |
Task Output:
Multiple Azure CLI Commands
...
Code Block |
---|
az version az account list |
Assigned Script:
Integration Modifications
...
This document references the following documents.
Document Link | Description |
---|---|
Universal Templates | User documentation for creating, working with and understanding Universal Templates and Integrations. |
Universal Tasks | User documentation for creating Universal Tasks in the Universal Controller user interface. |
Credentials | User documentation for creating and working with credentials. |
Resolvable Credentials Permitted Property | User documentation for Resolvable Credentials Permitted Property. |
...