Azure Webapp plugin for Kaholo
Description:
Settings
- Client or App ID
- Secret or Password
- Domain or Tenant ID
- Subscription ID
Method: Create App
Description: This method is based on the following documentation Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.
Parameters
- Resource Group: Resource group
- Location: (String) Resource Location.
- App Name: Unique name of the app to create or update.
- Service Plan: The service plan for the new app.
- Site Config AlwaysOn (Boolean), true if Always On is enabled; otherwise, false.
- SiteConfig (Obj), Configuration of an App Service app.
Method: Clone App
Description: This method clones an existing app service. It gets the original app and uses it’s SiteConfig for the new webapp.
Parameters
- Resource Group: Resource group
- App: The app to clone.
- New App name: The name of the new app.
- Location: (String) New app location.
- Service Plan: The service plan for the new app.
Method: Create Service Plan
Description:
This method creates a service plan following the documentation
Parameters
- Resource Group: Resource group
- Location: (String), Resource Location
- Service Plan Name: (String) Name of the App Service plan.
Description of a SKU for a scalable resource.
- SKU Tier: (String), Service tier of the resource SKU.
- SKU Size: (String), Size specifier of the resource SKU.
- Reserved: (Boolean), If Linux app service plan true, false otherwise.
- Is Xenon: (Boolean), Obsolete: If Hyper-V container app service plan true, false otherwise.
- HyperV: (Boolean), If Hyper-V container app service plan true, false otherwise.
Method: Create Deployment Slot
Description:
This method create s Deployment slot following the documentation
Parameters
- Resource Group: Resource group
- Location: Resource Location
- App Name: Name of the app
- Slot Name: Slot name
Method: Delete App
Description:
This method deletes an app. More information can be found on Azure’s documentation
Parameters
- Resource Group: Resource group
- App: The name of the app to delete.
Method: Delete Deployment Slot
Description:
This method deletes a deployment slot. More information can be found on Azure’s documentation
Parameters
- Resource Group: Resource group
- App: The name of the app that contains the deployment slot.
- Slot: The slot to delete.
Method: Delete Service Plan
Description:
This method deletes a service plan. More information can be found on Azure’s documentation
Parameters
- Resource Group: Resource group
- Plan: The plan to delete.
Method: Deploy zip to app
Description:
This method deploys a zip file to a service app. More information can be found on Azure’s documentation
In order to use this method deployment username and password are required. These should be preconfigured on the app. You can further read on Azure’s documentation
Parameters
- Zip Path – the path of the zip file to upload.
- App: The service app to upload the zip to
- Username: the deployment user to use.
- Password: the deployment user password.