Microsoft Azure Resource Provider
NOTE: We recommend using the Azure Native provider to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates because itโs built and automatically from the Azure Resource Manager API.
Azure Classic is based on the Terraform azurerm provider. It has fewer resources and resource options and receives new Azure features more slowly than Azure Native. However, Azure Classic remains fully-supported for existing usage.
The Azure Classic resource provider for Pulumi lets you use Azure resources in your cloud programs. To use this package, please install the Pulumi CLI first. For a streamlined Pulumi walkthrough, including language runtime installation and Azure configuration, select "Get Started" below.
Installing
This package is available in many languages in the standard packaging formats.
Node.js (Java/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either npm
:
$ npm install @pulumi/azure
or yarn
:
$ yarn add @pulumi/azure
Python
To use from Python, install using pip
:
$ pip install pulumi_azure
Go
To use from Go, use go get
to grab the latest version of the library
$ go get github.com/pulumi/pulumi-azure/sdk/v5
.NET
To use from .NET, install using dotnet add package
:
$ dotnet add package Pulumi.Azure
Concepts
The @pulumi/azure
package provides a strongly-typed means to build cloud applications that create
and interact closely with Azure resources. Resources are exposed for the entire Azure surface area,
including (but not limited to), 'appinsights', 'compute', 'cosmosdb', 'keyvault', and more.
Configuring credentials
There are a variety of ways credentials may be configured for the Azure provider, appropriate for different use cases. Refer to the Azure configuration options.
Reference
For further information, visit Azure in the Pulumi Registry or for detailed API reference documentation, visit Azure API Docs in the Pulumi Registry.