Azure Plugin Details
Plugin Version: 1.0.1
Last Update on: January 02, 2020
Overview
Microsoft Azure is a cloud computing service created by Microsoft for building, testing, deploying, and managing applications and services through Microsoft-managed data centers.
Azure Information:
More information can be found at
Azure .
Version Supported:
This plugin was developed and tested against Azure CLI – 2.9
Plugin Operation:
Create Resource Group
This operation allows to create Resource Group on Azure.
Input parameter(s):
Parameter
Is Mandatory
Help Text
Username
true
Azure Username
Password
true
Azure Password.
Name
true
Resource Group Name
(Ref : https://docs.microsoft.com/en-us/cli/azure/group?view=azure-cli-latest#az-group-create).
Location
true
Resource Location
(Ref : https://azure.microsoft.com/en-us/global-infrastructure/locations/).
Other Options
false
Other Parameters
(Ref : https://docs.microsoft.com/en-us/cli/azure/group?view=azure-cli-latest#az-group-create)
Output Parameter(s):
Parameter
Help Text
Output Log
Output log.
Group Id
Resource Group Id.
Location Id
Location Id.
Group Name
Resource Group Name.
AzureStatus
Status of the Operation
Create AppService Plan
This operation allows to create AppService in Azure.
Input parameter(s):
Parameter
Is Mandatory
Help Text
Username
true
Azure Username
Password
true
Azure Password.
Resource Group Name
true
Resource Group Name.
Plan Name
true
Plan Name.
Other Options
false
Other Parameters
(Ref : https://docs.microsoft.com/en-us/cli/azure/appservice/plan?view=azure-cli-latest#az-appservice-plan-create)
Output Parameter(s):
Parameter
Is Mandatory
Help Text
Username
true
Azure Username
Password
true
Azure Password.
Resource Group Name
true
Resource Group Name.
Plan Name
true
Plan Name.
Other Options
false
Other Parameters
(Ref : https://docs.microsoft.com/en-us/cli/azure/appservice/plan?view=azure-cli-latest#az-appservice-plan-create)
Create WebApp
This operation allows to create WebApp in Azure.
Input parameter(s):
Parameter
Is Mandatory
Help Text
Username
true
Azure Username
Password
true
Azure Password.
App Name
true
WebApp Name.
Resource Group Name
true
Resource Group Name.
Plan Name
true
Plan Name.
Other Options
false
Other Parameters
(Ref : https://docs.microsoft.com/en-us/cli/azure/webapp?view=azure-cli-latest#az-webapp-create)
Output Parameter(s):
Parameter
Help Text
Output Log
Output Log.
WebApp Id
WebApp Id.
Host Name
Host Name.
Ftp Url
Ftp Url.
State
State.
Location
WebApp Location.
AzureStatus
Status of the Operation
Deploy WebApp
This operation allows to deploy WebApp in Azure.
Input parameter(s):
Parameter
Is Mandatory
Help Text
Username
true
Azure Username
Password
true
Azure Password.
App Name
true
WebApp Name.
Local WebApp Path
true
Web Application(to be deployed) path in local machine.
Location
false
Location.
Other Options
false
Other Parameters
(Ref : https://docs.microsoft.com/en-us/cli/azure/webapp?view=azure-cli-latest#az-webapp-up)
Output parameter(s):
Parameter
Help Text
Output Log
Output Log.
URL
WebApp URL.
OS
Operating System.
Runtime Version
Runtime Version.
SKU
SKU.
AzureStatus
Status of the Operation
Upload Blob
This operation allows to upload file in Azure blob storage.
Input parameter(s):
Parameter
Is Mandatory
Help Text
Username
true
Azure Username
Password
true
Azure Password.
Container Name
true
Container Name.
Account Name
true
Account Name.
File Path
true
Local File Path.
Blob Name
true
Blob Name.
Other Options
false
Other Parameters
(Ref : https://docs.microsoft.com/en-us/cli/azure/storage/blob?view=azure-cli-latest#az-storage-blob-upload)
Output parameter(s):
Parameter
Help Text
Output Log
Output Log.
Blob etag
Blob etag.
Last Modified On
Last Modified On.
AzureStatus
Status of the Operation
Download Blob
This operation allows to download file from Azure blob storage.
Input parameter(s):
Parameter
Is Mandatory
Help Text
Username
true
Azure Username
Password
true
Azure Password.
Container Name
true
Storage Container Name.
Account Name
true
Storage Account Name.
File Path
true
Provide Local File Path with the name of the file to be downloaded along with file extension.
Blob Name
true
Blob Name.
Other Options
false
Other Parameters
(Ref : https://docs.microsoft.com/en-us/cli/azure/storage/blob?view=azure-cli-latest#az-storage-blob-download)
Output parameter(s):
Parameter
Help Text
Output Log
Output Log.
AzureStatus
Status of the Operation
Pass/Fail Condition:
Status
Condition
Method
Passed
Outputlog should contain Json String with “id”,”location”,”managedBy”,”name”,”type”
Create Resource Group
Failed
If Outputlog does not contain Json String with “id”,”location”,”managedBy”,”name”,”type”.
Create Resource Group
Passed
Outputlog should contain Json String with “id”,”location”,”name”,”status”
Create AppService Plan
Failed
Outputlog does not contain Json String with “id”,”location”,”name”,”status”
Create AppService Plan
Passed
Outputlog should contain Json String with “id”,”defaultHostName”,”ftpPublishingUrl”,”location”,”state”
Create WebApp
Failed
Outputlog does not contain Json String with “id”,”defaultHostName”,”ftpPublishingUrl”,”location”,”state”
Create WebApp
Passed
Outputlog should not contain Json String with “URL”,”os”,”runtime_version”,”sku”.
Deploy WebApp
Failed
If Outputlog does not contain Json String with “URL”,”os”,”runtime_version”,”sku”.
Deploy WebApp
Passed
Outputlog should not contain Json String with “etag”,”lastModified”.
Upload Blob
Failed
If outputlog does not contain Json String with “etag”,”lastModified”.
Upload Blob
Limitations:
This plugin will work in windows and linux environment.
Azure CLI should be installed
(https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest) in agent machine.
The functionality solely depends on azure cli command, if the command behaviour changes the result may vary.
Release Details:
Azure: 1.0.0
Initial version with basic functionalities.
Contact us: