1. Packages
  2. Packages
  3. Azure Classic
  4. API Docs
  5. recoveryservices
  6. Vault

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages a Recovery Services Vault.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var rg = new Azure.Core.ResourceGroup("rg", new Azure.Core.ResourceGroupArgs
            {
                Location = "West Europe",
            });
            var vault = new Azure.RecoveryServices.Vault("vault", new Azure.RecoveryServices.VaultArgs
            {
                Location = rg.Location,
                ResourceGroupName = rg.Name,
                Sku = "Standard",
                SoftDeleteEnabled = true,
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/recoveryservices"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		rg, err := core.NewResourceGroup(ctx, "rg", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = recoveryservices.NewVault(ctx, "vault", &recoveryservices.VaultArgs{
    			Location:          rg.Location,
    			ResourceGroupName: rg.Name,
    			Sku:               pulumi.String("Standard"),
    			SoftDeleteEnabled: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const rg = new azure.core.ResourceGroup("rg", {location: "West Europe"});
    const vault = new azure.recoveryservices.Vault("vault", {
        location: rg.location,
        resourceGroupName: rg.name,
        sku: "Standard",
        softDeleteEnabled: true,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    rg = azure.core.ResourceGroup("rg", location="West Europe")
    vault = azure.recoveryservices.Vault("vault",
        location=rg.location,
        resource_group_name=rg.name,
        sku="Standard",
        soft_delete_enabled=True)
    

    Example coming soon!

    Create Vault Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Vault(name: string, args: VaultArgs, opts?: CustomResourceOptions);
    @overload
    def Vault(resource_name: str,
              args: VaultArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Vault(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              resource_group_name: Optional[str] = None,
              sku: Optional[str] = None,
              cross_region_restore_enabled: Optional[bool] = None,
              encryption: Optional[VaultEncryptionArgs] = None,
              identity: Optional[VaultIdentityArgs] = None,
              location: Optional[str] = None,
              name: Optional[str] = None,
              soft_delete_enabled: Optional[bool] = None,
              storage_mode_type: Optional[str] = None,
              tags: Optional[Mapping[str, str]] = None)
    func NewVault(ctx *Context, name string, args VaultArgs, opts ...ResourceOption) (*Vault, error)
    public Vault(string name, VaultArgs args, CustomResourceOptions? opts = null)
    public Vault(String name, VaultArgs args)
    public Vault(String name, VaultArgs args, CustomResourceOptions options)
    
    type: azure:recoveryservices:Vault
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VaultArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VaultArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VaultArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VaultArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VaultArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var vaultResource = new Azure.RecoveryServices.Vault("vaultResource", new()
    {
        ResourceGroupName = "string",
        Sku = "string",
        CrossRegionRestoreEnabled = false,
        Encryption = new Azure.RecoveryServices.Inputs.VaultEncryptionArgs
        {
            InfrastructureEncryptionEnabled = false,
            KeyId = "string",
            UseSystemAssignedIdentity = false,
        },
        Identity = new Azure.RecoveryServices.Inputs.VaultIdentityArgs
        {
            Type = "string",
            PrincipalId = "string",
            TenantId = "string",
        },
        Location = "string",
        Name = "string",
        SoftDeleteEnabled = false,
        StorageModeType = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := recoveryservices.NewVault(ctx, "vaultResource", &recoveryservices.VaultArgs{
    	ResourceGroupName:         pulumi.String("string"),
    	Sku:                       pulumi.String("string"),
    	CrossRegionRestoreEnabled: pulumi.Bool(false),
    	Encryption: &recoveryservices.VaultEncryptionArgs{
    		InfrastructureEncryptionEnabled: pulumi.Bool(false),
    		KeyId:                           pulumi.String("string"),
    		UseSystemAssignedIdentity:       pulumi.Bool(false),
    	},
    	Identity: &recoveryservices.VaultIdentityArgs{
    		Type:        pulumi.String("string"),
    		PrincipalId: pulumi.String("string"),
    		TenantId:    pulumi.String("string"),
    	},
    	Location:          pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	SoftDeleteEnabled: pulumi.Bool(false),
    	StorageModeType:   pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var vaultResource = new Vault("vaultResource", VaultArgs.builder()
        .resourceGroupName("string")
        .sku("string")
        .crossRegionRestoreEnabled(false)
        .encryption(VaultEncryptionArgs.builder()
            .infrastructureEncryptionEnabled(false)
            .keyId("string")
            .useSystemAssignedIdentity(false)
            .build())
        .identity(VaultIdentityArgs.builder()
            .type("string")
            .principalId("string")
            .tenantId("string")
            .build())
        .location("string")
        .name("string")
        .softDeleteEnabled(false)
        .storageModeType("string")
        .tags(Map.of("string", "string"))
        .build());
    
    vault_resource = azure.recoveryservices.Vault("vaultResource",
        resource_group_name="string",
        sku="string",
        cross_region_restore_enabled=False,
        encryption={
            "infrastructure_encryption_enabled": False,
            "key_id": "string",
            "use_system_assigned_identity": False,
        },
        identity={
            "type": "string",
            "principal_id": "string",
            "tenant_id": "string",
        },
        location="string",
        name="string",
        soft_delete_enabled=False,
        storage_mode_type="string",
        tags={
            "string": "string",
        })
    
    const vaultResource = new azure.recoveryservices.Vault("vaultResource", {
        resourceGroupName: "string",
        sku: "string",
        crossRegionRestoreEnabled: false,
        encryption: {
            infrastructureEncryptionEnabled: false,
            keyId: "string",
            useSystemAssignedIdentity: false,
        },
        identity: {
            type: "string",
            principalId: "string",
            tenantId: "string",
        },
        location: "string",
        name: "string",
        softDeleteEnabled: false,
        storageModeType: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:recoveryservices:Vault
    properties:
        crossRegionRestoreEnabled: false
        encryption:
            infrastructureEncryptionEnabled: false
            keyId: string
            useSystemAssignedIdentity: false
        identity:
            principalId: string
            tenantId: string
            type: string
        location: string
        name: string
        resourceGroupName: string
        sku: string
        softDeleteEnabled: false
        storageModeType: string
        tags:
            string: string
    

    Vault Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Vault resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
    Sku string
    Sets the vault's SKU. Possible values include: Standard, RS0.
    CrossRegionRestoreEnabled bool
    Is cross region restore enabled for this Vault? Only can be true, when storage_mode_type is GeoRedundant. Defaults to false.
    Encryption VaultEncryption
    An encryption block as defined below. Required with identity.
    Identity VaultIdentity
    An identity block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
    SoftDeleteEnabled bool
    Is soft delete enable for this Vault? Defaults to true.
    StorageModeType string
    The storage type of the Recovery Services Vault. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Defaults to GeoRedundant.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    ResourceGroupName string
    The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
    Sku string
    Sets the vault's SKU. Possible values include: Standard, RS0.
    CrossRegionRestoreEnabled bool
    Is cross region restore enabled for this Vault? Only can be true, when storage_mode_type is GeoRedundant. Defaults to false.
    Encryption VaultEncryptionArgs
    An encryption block as defined below. Required with identity.
    Identity VaultIdentityArgs
    An identity block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
    SoftDeleteEnabled bool
    Is soft delete enable for this Vault? Defaults to true.
    StorageModeType string
    The storage type of the Recovery Services Vault. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Defaults to GeoRedundant.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    resourceGroupName String
    The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
    sku String
    Sets the vault's SKU. Possible values include: Standard, RS0.
    crossRegionRestoreEnabled Boolean
    Is cross region restore enabled for this Vault? Only can be true, when storage_mode_type is GeoRedundant. Defaults to false.
    encryption VaultEncryption
    An encryption block as defined below. Required with identity.
    identity VaultIdentity
    An identity block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
    softDeleteEnabled Boolean
    Is soft delete enable for this Vault? Defaults to true.
    storageModeType String
    The storage type of the Recovery Services Vault. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Defaults to GeoRedundant.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    resourceGroupName string
    The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
    sku string
    Sets the vault's SKU. Possible values include: Standard, RS0.
    crossRegionRestoreEnabled boolean
    Is cross region restore enabled for this Vault? Only can be true, when storage_mode_type is GeoRedundant. Defaults to false.
    encryption VaultEncryption
    An encryption block as defined below. Required with identity.
    identity VaultIdentity
    An identity block as defined below.
    location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name string
    Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
    softDeleteEnabled boolean
    Is soft delete enable for this Vault? Defaults to true.
    storageModeType string
    The storage type of the Recovery Services Vault. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Defaults to GeoRedundant.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    resource_group_name str
    The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
    sku str
    Sets the vault's SKU. Possible values include: Standard, RS0.
    cross_region_restore_enabled bool
    Is cross region restore enabled for this Vault? Only can be true, when storage_mode_type is GeoRedundant. Defaults to false.
    encryption VaultEncryptionArgs
    An encryption block as defined below. Required with identity.
    identity VaultIdentityArgs
    An identity block as defined below.
    location str
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name str
    Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
    soft_delete_enabled bool
    Is soft delete enable for this Vault? Defaults to true.
    storage_mode_type str
    The storage type of the Recovery Services Vault. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Defaults to GeoRedundant.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    resourceGroupName String
    The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
    sku String
    Sets the vault's SKU. Possible values include: Standard, RS0.
    crossRegionRestoreEnabled Boolean
    Is cross region restore enabled for this Vault? Only can be true, when storage_mode_type is GeoRedundant. Defaults to false.
    encryption Property Map
    An encryption block as defined below. Required with identity.
    identity Property Map
    An identity block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
    softDeleteEnabled Boolean
    Is soft delete enable for this Vault? Defaults to true.
    storageModeType String
    The storage type of the Recovery Services Vault. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Defaults to GeoRedundant.
    tags Map<String>
    A mapping of tags to assign to the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Vault resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Vault Resource

    Get an existing Vault resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VaultState, opts?: CustomResourceOptions): Vault
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cross_region_restore_enabled: Optional[bool] = None,
            encryption: Optional[VaultEncryptionArgs] = None,
            identity: Optional[VaultIdentityArgs] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            sku: Optional[str] = None,
            soft_delete_enabled: Optional[bool] = None,
            storage_mode_type: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> Vault
    func GetVault(ctx *Context, name string, id IDInput, state *VaultState, opts ...ResourceOption) (*Vault, error)
    public static Vault Get(string name, Input<string> id, VaultState? state, CustomResourceOptions? opts = null)
    public static Vault get(String name, Output<String> id, VaultState state, CustomResourceOptions options)
    resources:  _:    type: azure:recoveryservices:Vault    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CrossRegionRestoreEnabled bool
    Is cross region restore enabled for this Vault? Only can be true, when storage_mode_type is GeoRedundant. Defaults to false.
    Encryption VaultEncryption
    An encryption block as defined below. Required with identity.
    Identity VaultIdentity
    An identity block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
    Sku string
    Sets the vault's SKU. Possible values include: Standard, RS0.
    SoftDeleteEnabled bool
    Is soft delete enable for this Vault? Defaults to true.
    StorageModeType string
    The storage type of the Recovery Services Vault. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Defaults to GeoRedundant.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    CrossRegionRestoreEnabled bool
    Is cross region restore enabled for this Vault? Only can be true, when storage_mode_type is GeoRedundant. Defaults to false.
    Encryption VaultEncryptionArgs
    An encryption block as defined below. Required with identity.
    Identity VaultIdentityArgs
    An identity block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
    Sku string
    Sets the vault's SKU. Possible values include: Standard, RS0.
    SoftDeleteEnabled bool
    Is soft delete enable for this Vault? Defaults to true.
    StorageModeType string
    The storage type of the Recovery Services Vault. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Defaults to GeoRedundant.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    crossRegionRestoreEnabled Boolean
    Is cross region restore enabled for this Vault? Only can be true, when storage_mode_type is GeoRedundant. Defaults to false.
    encryption VaultEncryption
    An encryption block as defined below. Required with identity.
    identity VaultIdentity
    An identity block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
    sku String
    Sets the vault's SKU. Possible values include: Standard, RS0.
    softDeleteEnabled Boolean
    Is soft delete enable for this Vault? Defaults to true.
    storageModeType String
    The storage type of the Recovery Services Vault. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Defaults to GeoRedundant.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    crossRegionRestoreEnabled boolean
    Is cross region restore enabled for this Vault? Only can be true, when storage_mode_type is GeoRedundant. Defaults to false.
    encryption VaultEncryption
    An encryption block as defined below. Required with identity.
    identity VaultIdentity
    An identity block as defined below.
    location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name string
    Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
    sku string
    Sets the vault's SKU. Possible values include: Standard, RS0.
    softDeleteEnabled boolean
    Is soft delete enable for this Vault? Defaults to true.
    storageModeType string
    The storage type of the Recovery Services Vault. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Defaults to GeoRedundant.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    cross_region_restore_enabled bool
    Is cross region restore enabled for this Vault? Only can be true, when storage_mode_type is GeoRedundant. Defaults to false.
    encryption VaultEncryptionArgs
    An encryption block as defined below. Required with identity.
    identity VaultIdentityArgs
    An identity block as defined below.
    location str
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name str
    Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
    sku str
    Sets the vault's SKU. Possible values include: Standard, RS0.
    soft_delete_enabled bool
    Is soft delete enable for this Vault? Defaults to true.
    storage_mode_type str
    The storage type of the Recovery Services Vault. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Defaults to GeoRedundant.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    crossRegionRestoreEnabled Boolean
    Is cross region restore enabled for this Vault? Only can be true, when storage_mode_type is GeoRedundant. Defaults to false.
    encryption Property Map
    An encryption block as defined below. Required with identity.
    identity Property Map
    An identity block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
    sku String
    Sets the vault's SKU. Possible values include: Standard, RS0.
    softDeleteEnabled Boolean
    Is soft delete enable for this Vault? Defaults to true.
    storageModeType String
    The storage type of the Recovery Services Vault. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Defaults to GeoRedundant.
    tags Map<String>
    A mapping of tags to assign to the resource.

    Supporting Types

    VaultEncryption, VaultEncryptionArgs

    InfrastructureEncryptionEnabled bool
    Enabling/Disabling the Double Encryption state.
    KeyId string
    The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
    UseSystemAssignedIdentity bool
    Indicate that system assigned identity should be used or not. At this time the only possible value is true. Defaults to true.
    InfrastructureEncryptionEnabled bool
    Enabling/Disabling the Double Encryption state.
    KeyId string
    The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
    UseSystemAssignedIdentity bool
    Indicate that system assigned identity should be used or not. At this time the only possible value is true. Defaults to true.
    infrastructureEncryptionEnabled Boolean
    Enabling/Disabling the Double Encryption state.
    keyId String
    The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
    useSystemAssignedIdentity Boolean
    Indicate that system assigned identity should be used or not. At this time the only possible value is true. Defaults to true.
    infrastructureEncryptionEnabled boolean
    Enabling/Disabling the Double Encryption state.
    keyId string
    The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
    useSystemAssignedIdentity boolean
    Indicate that system assigned identity should be used or not. At this time the only possible value is true. Defaults to true.
    infrastructure_encryption_enabled bool
    Enabling/Disabling the Double Encryption state.
    key_id str
    The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
    use_system_assigned_identity bool
    Indicate that system assigned identity should be used or not. At this time the only possible value is true. Defaults to true.
    infrastructureEncryptionEnabled Boolean
    Enabling/Disabling the Double Encryption state.
    keyId String
    The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
    useSystemAssignedIdentity Boolean
    Indicate that system assigned identity should be used or not. At this time the only possible value is true. Defaults to true.

    VaultIdentity, VaultIdentityArgs

    Type string
    The Type of Identity which should be used for this Recovery Services Vault. At this time the only possible value is SystemAssigned.
    PrincipalId string
    TenantId string
    Type string
    The Type of Identity which should be used for this Recovery Services Vault. At this time the only possible value is SystemAssigned.
    PrincipalId string
    TenantId string
    type String
    The Type of Identity which should be used for this Recovery Services Vault. At this time the only possible value is SystemAssigned.
    principalId String
    tenantId String
    type string
    The Type of Identity which should be used for this Recovery Services Vault. At this time the only possible value is SystemAssigned.
    principalId string
    tenantId string
    type str
    The Type of Identity which should be used for this Recovery Services Vault. At this time the only possible value is SystemAssigned.
    principal_id str
    tenant_id str
    type String
    The Type of Identity which should be used for this Recovery Services Vault. At this time the only possible value is SystemAssigned.
    principalId String
    tenantId String

    Import

    Recovery Services Vaults can be imported using the resource id, e.g.

     $ pulumi import azure:recoveryservices/vault:Vault vault1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.RecoveryServices/vaults/vault1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial