1. Packages
  2. Azure Native
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Azure Native

This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

The Azure Native provider for Pulumi can be used to provision all of the cloud resources available in Azure. It manages and provisions resources using the Azure Resource Manager (ARM) APIs.

Azure Native must be configured with credentials to deploy and update resources in Azure; see Installation & Configuration for instructions.

New to Pulumi and Azure? Get started with Azure using our tutorial

Example

import * as resources from "@pulumi/azure-native/resources";

const resourceGroup = new resources.ResourceGroup("resourceGroup");
Copy
import pulumi_azure_native as azure_native

resource_group = azure_native.resources.ResourceGroup("resourceGroup")
Copy
using Pulumi;
using Pulumi.AzureNative.Resources;

await Deployment.RunAsync(() =>
{
    var resourceGroup = new ResourceGroup("resourceGroup");
});
Copy
package main

import (
    "github.com/pulumi/pulumi-azure-native/sdk/go/azure/resources"
    "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := resources.NewResourceGroup(ctx, "resourceGroup", nil)
        if err != nil {
            return err
        }
        return nil
    })
}
Copy
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.azurenative.resources.ResourceGroup;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    private static void stack(Context ctx) {
        var resourceGroup = new ResourceGroup("resourceGroup");
        ctx.export("resourceGroupName", resourceGroup.name());
    }
}
Copy
resources:
  resourceGroup:
    type: azure-native:resources:ResourceGroup
Copy

Visit the How-to Guides to find step-by-step guides for specific scenarios like running an app in Azure App Service or setting up a serverless Azure Function.

Migration

From Azure Classic

If you’re already using the Pulumi Azure Classic Provider and would like to migrate to Azure Native, use the migration guide.

From v2 to v3

To migrate from v2 to v3 of the Pulumi Azure Native Provider, use the v3 upgrade guide.

From v1 to v2

To migrate from v1 to v2 of the Pulumi Azure Native Provider, use the v2 upgrade guide.

From Azure Resource Manager (ARM) templates

If you have Azure Resource Manager (ARM) templates that you’d like to migrate to Pulumi, use the Migrate From Azure Resource Manager guide.

Manage incompatible resources using the Azure SDK

Some Azure resources aren’t included in Azure Native because they’re not compatible with the Pulumi resource model. If you need to manage these kinds of resources, you can use convenience helpers provided by Azure Native to set up an Azure SDK client and credentials in your preferred language. Use these how-to guides to get started:

How resources are versioned

Azure Native provides access to all API versions of each Azure resource so that you can access the entire Azure API surface. The SDK comes with a default version of each resource, and you can generate local SDKs for other versions. Read the version guide to learn more.

This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi