executeAzureCommand
Run the Azure command/script, we can select the type of CLI from the drop-down. Available options are shell, PowerShell, and WindowsShell. The default CLI type is the shell.
Target Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Azure Cloud Account |
| No | Azure cloud account Name. |
Azure CLI Path |
| No | The path to the directory where Azure CLI is installed. |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Code Snippet |
| Yes | The command/script that is to be executed. |
Azure Cloud Account |
| No | Azure cloud account Name. |
CLI Type |
| No | Select CLI Type ex: Shell,WindowsShell,PowerShell |
Use PowerShell 6+ |
| No | Check If you want to execute the PowerShell script on PowerShell 6+. If it is unchecked then it will execute on PowerShell 1-5. |
Restrict Environment |
| No | Provide comma-separated instance codes to restrict environment variables in shell to specified instance codes. If no value is provided all properties are available to shell environment. Â |
No Secure Variables |
| No | Check if you do not want to pass secure/encrypted properties in shell environment. Â Â |
Artifacts
This operation may produce or consume any artifacts.
Endpoint Selection
This operation will select all available endpoints associated to the target.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
- style