Azure Provider Reference
Source of truth
Definitions live under examples/api-definitions/apis/az. Update the API definitions and re-run make docs-reference.
v1
Resource
Kind
Short Names
Categories
containerregistries
ContainerRegistry
acr
—
functionapps
FunctionApp
func
—
storageaccount
StorageAccount
sa
—
virtualmachines
VirtualMachine
vm
—
ContainerRegistry
API Group: az/v1\
Resource Name: containerregistries\
Kind: ContainerRegistry
Managed OCI registries for Azure and hybrid workloads.
ContainerRegistry brings Azure Container Registry configuration to the
same source file as Terraform and kubectl style workflows. Capture SKU,
retention, encryption, and network rules once and share them broadly.
Configuration Examples
Required Arguments
Name
Type
Description
subscriptionId
string
Subscription that owns the registry.
resourceGroup
string
Resource group where the registry is deployed.
location
string
Azure region for the registry.
sku
string
SKU tier such as Basic, Standard, or Premium.
Optional Arguments
Name
Type
Description
Default
adminUserEnabled
bool
Controls whether the legacy admin user/password is available.
—
retentionPolicy
object
Retention policy block with days and status keys.
—
networkRuleSet
object
Optional block for IP/VNet allow lists and default action.
—
Computed Attributes
Name
Type
Description
loginServer
string
DNS hostname clients should push to.
id
string
ARM resource ID for the registry.
FunctionApp
API Group: az/v1\
Resource Name: functionapps\
Kind: FunctionApp
Serverless Functions-as-a-Service on Azure.
Azure FunctionApp documents consolidate the knobs for deployment slots,
plan SKUs, identity, and app settings. They make it straightforward to
represent both YAML and HCL views for teams that co-manage workloads.
Configuration Examples
Required Arguments
Name
Type
Description
subscriptionId
string
Subscription that contains the Function App.
resourceGroup
string
Resource group where the Function App lives.
location
string
Azure region for the app and hosting plan.
Optional Arguments
Name
Type
Description
Default
planSku
string
Consumption (Y1), Elastic Premium (EP1), or Dedicated SKU.
—
storageAccountName
string
Backing storage account used for package deployment.
—
runtimeStack
string
Worker runtime, e.g. dotnet-isolated or node.
—
identity
object
Managed identity configuration for the app.
—
appSettings
map(string)
Environment variables available during execution.
—
Computed Attributes
Name
Type
Description
defaultHostname
string
Public hostname automatically assigned by Azure.
outboundIpAddresses
list(string)
Comma-separated list of possible outbound IPs.
VirtualMachine
API Group: az/v1\
Resource Name: virtualmachines\
Kind: VirtualMachine
General purpose compute on Azure Virtual Machines.
Use VirtualMachine to describe provisioned Azure compute instances,
whether you manage them with Terraform, ARM, or the Portal. The schema
focuses on the knobs infrastructure teams change most frequently:
the source image, SKU, networking attachments, and OS customization.
Configuration Examples
Required Arguments
Name
Type
Description
subscriptionId
string
Azure subscription that owns the VM.
resourceGroup
string
Target resource group for the VM and supporting objects.
location
string
Azure region, e.g. australiaeast.
size
string
VM SKU defining vCPU, RAM, and network bandwidth.
Optional Arguments
Name
Type
Description
Default
networkInterfaceIds
list(string)
NIC resource IDs wired to the VM.
—
sourceImage
object
Publisher/offer/sku triple that defines the OS image.
—
osDisk
object
Disk storage settings such as caching and SKU.
—
adminUsername
string
Linux user provisioned for SSH.
—
sshPublicKeys
list(string)
Authorized keys that enable SSH login.
—
Computed Attributes
Name
Type
Description
id
string
ARM resource ID of the VM.
privateIps
list(string)
IPv4 addresses assigned to attached NICs.