Skip to main content

Azure App Service

@rkcoleman/azure-app-servicev2026.05.26.1· 5d agoMODELS
01README

Azure App Service swamp extension — manages App Service Plans, Web Apps, and Function Apps. Wraps the az CLI to provide CRUD, power state, app settings, deployment slots, custom domains, SSL certificate lifecycle, and function inventory. Designed to compose with @dougschaefer/azure-* models.

02Models3
@rkcoleman/azure-app-service-planv2026.05.26.1azure/app_service_plan.ts
fn list()
List all App Service Plans in a resource group (or all in the subscription).
fn get(name: string, resourceGroup?: string)
Get a single App Service Plan.
ArgumentTypeDescription
namestringPlan name
resourceGroup?stringResource group name
fn sync(name: string, resourceGroup?: string)
Refresh the stored state of an App Service Plan without making changes.
ArgumentTypeDescription
namestringPlan name
resourceGroup?stringResource group name
fn create(name: string, resourceGroup?: string, location: string)
Create an App Service Plan.
ArgumentTypeDescription
namestringPlan name
resourceGroup?stringResource group name
locationstringAzure region, e.g. eastus2
fn update(name: string, resourceGroup?: string, sku?: string)
Update an App Service Plan — change SKU or worker count.
ArgumentTypeDescription
namestringPlan name
resourceGroup?stringResource group name
sku?stringNew pricing SKU
fn delete(name: string, resourceGroup?: string)
Delete an App Service Plan. All apps using the plan must be deleted first.
ArgumentTypeDescription
namestringPlan name
resourceGroup?stringResource group name

Resources

plan(infinite)— Azure App Service Plan
@rkcoleman/azure-app-servicev2026.05.26.1azure/app_service.ts
fn list()
List all Web Apps in a resource group (or all in the subscription).
fn get(name: string, resourceGroup?: string)
Get a single Web App.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
fn sync(name: string, resourceGroup?: string)
Refresh the stored state of a Web App without changes.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
fn create(resourceGroup?: string, plan: string)
Create a Web App on an existing App Service Plan.
ArgumentTypeDescription
resourceGroup?stringResource group name
planstringApp Service Plan name or resource ID
fn update(name: string, resourceGroup?: string)
Update a Web App — change httpsOnly, client affinity, tags, or other top-level properties.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
fn delete(name: string, resourceGroup?: string)
Delete a Web App.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
fn start(name: string, resourceGroup?: string)
Start a stopped Web App.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
fn stop(name: string, resourceGroup?: string)
Stop a running Web App.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
fn restart(name: string, resourceGroup?: string)
Restart a Web App.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
fn listAppSettings(name: string, resourceGroup?: string)
List application settings for a Web App.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
fn setAppSettings(name: string, resourceGroup?: string)
Set (add or update) application settings on a Web App.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
fn deleteAppSettings(name: string, resourceGroup?: string)
Delete application settings from a Web App.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
fn listSlots(name: string, resourceGroup?: string)
List deployment slots for a Web App.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
fn createSlot(name: string, resourceGroup?: string, slot: string)
Create a deployment slot on a Web App.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
slotstringSlot name (e.g. 'staging')
fn swapSlots(name: string, resourceGroup?: string, slot: string)
Swap two deployment slots (typically staging → production).
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
slotstringSource slot name (e.g. 'staging')
fn deleteSlot(name: string, resourceGroup?: string, slot: string)
Delete a deployment slot.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
slotstringSlot name to delete
fn listCustomDomains(name: string, resourceGroup?: string)
List custom-domain hostname bindings on a Web App.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
fn addCustomDomain(name: string, resourceGroup?: string, hostname: string)
Bind a custom hostname to a Web App. The DNS record (CNAME or A) must already point at the Web App's default hostname or an IP of the App Service.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
hostnamestringCustom hostname (e.g. 'www.example.com')
fn deleteCustomDomain(name: string, resourceGroup?: string, hostname: string)
Unbind a custom hostname from a Web App.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
hostnamestringCustom hostname
fn listSslBindings(resourceGroup?: string)
List SSL certificates uploaded for a Web App.
ArgumentTypeDescription
resourceGroup?stringResource group name
fn uploadSslCertificate(name: string, resourceGroup?: string, certificateFile: string)
Upload a PFX SSL certificate to a Web App's resource group.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
certificateFilestringPath to the PFX file
fn bindSslCertificate(name: string, resourceGroup?: string, hostname: string)
Bind an SSL certificate to a custom hostname on a Web App.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name
hostnamestringCustom hostname to bind
fn unbindSslCertificate(name: string, resourceGroup?: string)
Unbind an SSL certificate from a Web App hostname.
ArgumentTypeDescription
namestringWeb App name
resourceGroup?stringResource group name

Resources

webapp(infinite)— Azure Web App
slot(infinite)— Web App deployment slot
appSettings(infinite)— Web App application settings
hostnameBinding(infinite)— Web App custom-domain hostname binding
sslCertificate(infinite)— Web App SSL certificate
@rkcoleman/azure-function-appv2026.05.26.1azure/function_app.ts
fn list()
List Function Apps in a resource group (or across the subscription).
fn get(name: string, resourceGroup?: string)
Get a single Function App.
ArgumentTypeDescription
namestringFunction App name
resourceGroup?stringResource group name
fn sync(name: string, resourceGroup?: string)
Refresh the stored state of a Function App.
ArgumentTypeDescription
namestringFunction App name
resourceGroup?stringResource group name
fn create(name: string, resourceGroup?: string, runtimeVersion?: string)
Create a Function App. Requires a storage account; specify either consumptionPlanLocation (consumption plan) or plan (existing App Service Plan).
ArgumentTypeDescription
namestringFunction App name (globally unique)
resourceGroup?stringResource group name
runtimeVersion?stringRuntime version
fn update(name: string, resourceGroup?: string, httpsOnly?: boolean)
Update top-level properties on a Function App.
ArgumentTypeDescription
namestringFunction App name
resourceGroup?stringResource group name
httpsOnly?booleanRequire HTTPS only
fn delete(name: string, resourceGroup?: string)
Delete a Function App.
ArgumentTypeDescription
namestringFunction App name
resourceGroup?stringResource group name
fn start(name: string, resourceGroup?: string)
Start a stopped Function App.
ArgumentTypeDescription
namestringFunction App name
resourceGroup?stringResource group name
fn stop(name: string, resourceGroup?: string)
Stop a running Function App.
ArgumentTypeDescription
namestringFunction App name
resourceGroup?stringResource group name
fn restart(name: string, resourceGroup?: string)
Restart a Function App.
ArgumentTypeDescription
namestringFunction App name
resourceGroup?stringResource group name
fn listAppSettings(name: string, resourceGroup?: string)
List application settings for a Function App.
ArgumentTypeDescription
namestringFunction App name
resourceGroup?stringResource group name
fn setAppSettings(name: string, resourceGroup?: string)
Set application settings on a Function App.
ArgumentTypeDescription
namestringFunction App name
resourceGroup?stringResource group name
fn listFunctions(name: string, resourceGroup?: string)
List functions within a Function App.
ArgumentTypeDescription
namestringFunction App name
resourceGroup?stringResource group name
fn getFunction(name: string, functionName: string, resourceGroup?: string)
Get a single function within a Function App.
ArgumentTypeDescription
namestringFunction App name
functionNamestringFunction name
resourceGroup?stringResource group name

Resources

functionapp(infinite)— Azure Function App
function(infinite)— Function within a Function App
appSettings(infinite)— Function App application settings
03Stats
A
100 / 100
Downloads
7
Archive size
18.9 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
04Platforms
05Labels