azure.recoveryservices.Vault
Manages a Recovery Services Vault.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Location = "West Europe",
});
var vault = new Azure.RecoveryServices.Vault("vault", new()
{
Location = example.Location,
ResourceGroupName = example.Name,
Sku = "Standard",
SoftDeleteEnabled = true,
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/recoveryservices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = recoveryservices.NewVault(ctx, "vault", &recoveryservices.VaultArgs{
Location: example.Location,
ResourceGroupName: example.Name,
Sku: pulumi.String("Standard"),
SoftDeleteEnabled: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.recoveryservices.Vault;
import com.pulumi.azure.recoveryservices.VaultArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var vault = new Vault("vault", VaultArgs.builder()
.location(example.location())
.resourceGroupName(example.name())
.sku("Standard")
.softDeleteEnabled(true)
.build());
}
}
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example", location="West Europe")
vault = azure.recoveryservices.Vault("vault",
location=example.location,
resource_group_name=example.name,
sku="Standard",
soft_delete_enabled=True)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {location: "West Europe"});
const vault = new azure.recoveryservices.Vault("vault", {
location: example.location,
resourceGroupName: example.name,
sku: "Standard",
softDeleteEnabled: true,
});
resources:
example:
type: azure:core:ResourceGroup
properties:
location: West Europe
vault:
type: azure:recoveryservices:Vault
properties:
location: ${example.location}
resourceGroupName: ${example.name}
sku: Standard
softDeleteEnabled: true
Create Vault Resource
new Vault(name: string, args: VaultArgs, opts?: CustomResourceOptions);
@overload
def Vault(resource_name: str,
opts: Optional[ResourceOptions] = None,
classic_vmware_replication_enabled: Optional[bool] = None,
cross_region_restore_enabled: Optional[bool] = None,
encryption: Optional[VaultEncryptionArgs] = None,
identity: Optional[VaultIdentityArgs] = None,
immutability: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
public_network_access_enabled: Optional[bool] = 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)
@overload
def Vault(resource_name: str,
args: VaultArgs,
opts: Optional[ResourceOptions] = None)
func NewVault(ctx *Context, name string, args VaultArgs, opts ...ResourceOption) (*Vault, error)
public Vault(string name, VaultArgs args, CustomResourceOptions? opts = null)
type: azure:recoveryservices:Vault
properties: # The arguments to resource properties.
options: # 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.
- 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.
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
The Vault resource accepts the following input properties:
- Resource
Group stringName 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
.- Classic
Vmware boolReplication Enabled Whether to enable the Classic experience for VMware replication. If set to
false
VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.- Cross
Region boolRestore Enabled Is cross region restore enabled for this Vault? Only can be
true
, whenstorage_mode_type
isGeoRedundant
. Defaults tofalse
.- Encryption
Vault
Encryption Args An
encryption
block as defined below. Required withidentity
.- Identity
Vault
Identity Args An
identity
block as defined below.- Immutability string
Immutability Settings of vault, possible values include:
Locked
,Unlocked
andDisabled
.- 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.
- Public
Network boolAccess Enabled Is it enabled to access the vault from public networks. Defaults to
true
.- Soft
Delete boolEnabled Is soft delete enable for this Vault? Defaults to
true
.- Storage
Mode stringType The storage type of the Recovery Services Vault. Possible values are
GeoRedundant
,LocallyRedundant
andZoneRedundant
. Defaults toGeoRedundant
.- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Resource
Group stringName 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
.- Classic
Vmware boolReplication Enabled Whether to enable the Classic experience for VMware replication. If set to
false
VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.- Cross
Region boolRestore Enabled Is cross region restore enabled for this Vault? Only can be
true
, whenstorage_mode_type
isGeoRedundant
. Defaults tofalse
.- Encryption
Vault
Encryption Args An
encryption
block as defined below. Required withidentity
.- Identity
Vault
Identity Args An
identity
block as defined below.- Immutability string
Immutability Settings of vault, possible values include:
Locked
,Unlocked
andDisabled
.- 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.
- Public
Network boolAccess Enabled Is it enabled to access the vault from public networks. Defaults to
true
.- Soft
Delete boolEnabled Is soft delete enable for this Vault? Defaults to
true
.- Storage
Mode stringType The storage type of the Recovery Services Vault. Possible values are
GeoRedundant
,LocallyRedundant
andZoneRedundant
. Defaults toGeoRedundant
.- map[string]string
A mapping of tags to assign to the resource.
- resource
Group StringName 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
.- classic
Vmware BooleanReplication Enabled Whether to enable the Classic experience for VMware replication. If set to
false
VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.- cross
Region BooleanRestore Enabled Is cross region restore enabled for this Vault? Only can be
true
, whenstorage_mode_type
isGeoRedundant
. Defaults tofalse
.- encryption
Vault
Encryption Args An
encryption
block as defined below. Required withidentity
.- identity
Vault
Identity Args An
identity
block as defined below.- immutability String
Immutability Settings of vault, possible values include:
Locked
,Unlocked
andDisabled
.- 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.
- public
Network BooleanAccess Enabled Is it enabled to access the vault from public networks. Defaults to
true
.- soft
Delete BooleanEnabled Is soft delete enable for this Vault? Defaults to
true
.- storage
Mode StringType The storage type of the Recovery Services Vault. Possible values are
GeoRedundant
,LocallyRedundant
andZoneRedundant
. Defaults toGeoRedundant
.- Map<String,String>
A mapping of tags to assign to the resource.
- resource
Group stringName 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
.- classic
Vmware booleanReplication Enabled Whether to enable the Classic experience for VMware replication. If set to
false
VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.- cross
Region booleanRestore Enabled Is cross region restore enabled for this Vault? Only can be
true
, whenstorage_mode_type
isGeoRedundant
. Defaults tofalse
.- encryption
Vault
Encryption Args An
encryption
block as defined below. Required withidentity
.- identity
Vault
Identity Args An
identity
block as defined below.- immutability string
Immutability Settings of vault, possible values include:
Locked
,Unlocked
andDisabled
.- 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.
- public
Network booleanAccess Enabled Is it enabled to access the vault from public networks. Defaults to
true
.- soft
Delete booleanEnabled Is soft delete enable for this Vault? Defaults to
true
.- storage
Mode stringType The storage type of the Recovery Services Vault. Possible values are
GeoRedundant
,LocallyRedundant
andZoneRedundant
. Defaults toGeoRedundant
.- {[key: string]: string}
A mapping of tags to assign to the resource.
- resource_
group_ strname 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
.- classic_
vmware_ boolreplication_ enabled Whether to enable the Classic experience for VMware replication. If set to
false
VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.- cross_
region_ boolrestore_ enabled Is cross region restore enabled for this Vault? Only can be
true
, whenstorage_mode_type
isGeoRedundant
. Defaults tofalse
.- encryption
Vault
Encryption Args An
encryption
block as defined below. Required withidentity
.- identity
Vault
Identity Args An
identity
block as defined below.- immutability str
Immutability Settings of vault, possible values include:
Locked
,Unlocked
andDisabled
.- 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.
- public_
network_ boolaccess_ enabled Is it enabled to access the vault from public networks. Defaults to
true
.- soft_
delete_ boolenabled Is soft delete enable for this Vault? Defaults to
true
.- storage_
mode_ strtype The storage type of the Recovery Services Vault. Possible values are
GeoRedundant
,LocallyRedundant
andZoneRedundant
. Defaults toGeoRedundant
.- Mapping[str, str]
A mapping of tags to assign to the resource.
- resource
Group StringName 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
.- classic
Vmware BooleanReplication Enabled Whether to enable the Classic experience for VMware replication. If set to
false
VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.- cross
Region BooleanRestore Enabled Is cross region restore enabled for this Vault? Only can be
true
, whenstorage_mode_type
isGeoRedundant
. Defaults tofalse
.- encryption Property Map
An
encryption
block as defined below. Required withidentity
.- identity Property Map
An
identity
block as defined below.- immutability String
Immutability Settings of vault, possible values include:
Locked
,Unlocked
andDisabled
.- 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.
- public
Network BooleanAccess Enabled Is it enabled to access the vault from public networks. Defaults to
true
.- soft
Delete BooleanEnabled Is soft delete enable for this Vault? Defaults to
true
.- storage
Mode StringType The storage type of the Recovery Services Vault. Possible values are
GeoRedundant
,LocallyRedundant
andZoneRedundant
. Defaults toGeoRedundant
.- 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,
classic_vmware_replication_enabled: Optional[bool] = None,
cross_region_restore_enabled: Optional[bool] = None,
encryption: Optional[VaultEncryptionArgs] = None,
identity: Optional[VaultIdentityArgs] = None,
immutability: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
public_network_access_enabled: Optional[bool] = 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)
Resource lookup is not supported in YAML
- 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.
- Classic
Vmware boolReplication Enabled Whether to enable the Classic experience for VMware replication. If set to
false
VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.- Cross
Region boolRestore Enabled Is cross region restore enabled for this Vault? Only can be
true
, whenstorage_mode_type
isGeoRedundant
. Defaults tofalse
.- Encryption
Vault
Encryption Args An
encryption
block as defined below. Required withidentity
.- Identity
Vault
Identity Args An
identity
block as defined below.- Immutability string
Immutability Settings of vault, possible values include:
Locked
,Unlocked
andDisabled
.- 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.
- Public
Network boolAccess Enabled Is it enabled to access the vault from public networks. Defaults to
true
.- Resource
Group stringName 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
.- Soft
Delete boolEnabled Is soft delete enable for this Vault? Defaults to
true
.- Storage
Mode stringType The storage type of the Recovery Services Vault. Possible values are
GeoRedundant
,LocallyRedundant
andZoneRedundant
. Defaults toGeoRedundant
.- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Classic
Vmware boolReplication Enabled Whether to enable the Classic experience for VMware replication. If set to
false
VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.- Cross
Region boolRestore Enabled Is cross region restore enabled for this Vault? Only can be
true
, whenstorage_mode_type
isGeoRedundant
. Defaults tofalse
.- Encryption
Vault
Encryption Args An
encryption
block as defined below. Required withidentity
.- Identity
Vault
Identity Args An
identity
block as defined below.- Immutability string
Immutability Settings of vault, possible values include:
Locked
,Unlocked
andDisabled
.- 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.
- Public
Network boolAccess Enabled Is it enabled to access the vault from public networks. Defaults to
true
.- Resource
Group stringName 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
.- Soft
Delete boolEnabled Is soft delete enable for this Vault? Defaults to
true
.- Storage
Mode stringType The storage type of the Recovery Services Vault. Possible values are
GeoRedundant
,LocallyRedundant
andZoneRedundant
. Defaults toGeoRedundant
.- map[string]string
A mapping of tags to assign to the resource.
- classic
Vmware BooleanReplication Enabled Whether to enable the Classic experience for VMware replication. If set to
false
VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.- cross
Region BooleanRestore Enabled Is cross region restore enabled for this Vault? Only can be
true
, whenstorage_mode_type
isGeoRedundant
. Defaults tofalse
.- encryption
Vault
Encryption Args An
encryption
block as defined below. Required withidentity
.- identity
Vault
Identity Args An
identity
block as defined below.- immutability String
Immutability Settings of vault, possible values include:
Locked
,Unlocked
andDisabled
.- 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.
- public
Network BooleanAccess Enabled Is it enabled to access the vault from public networks. Defaults to
true
.- resource
Group StringName 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
.- soft
Delete BooleanEnabled Is soft delete enable for this Vault? Defaults to
true
.- storage
Mode StringType The storage type of the Recovery Services Vault. Possible values are
GeoRedundant
,LocallyRedundant
andZoneRedundant
. Defaults toGeoRedundant
.- Map<String,String>
A mapping of tags to assign to the resource.
- classic
Vmware booleanReplication Enabled Whether to enable the Classic experience for VMware replication. If set to
false
VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.- cross
Region booleanRestore Enabled Is cross region restore enabled for this Vault? Only can be
true
, whenstorage_mode_type
isGeoRedundant
. Defaults tofalse
.- encryption
Vault
Encryption Args An
encryption
block as defined below. Required withidentity
.- identity
Vault
Identity Args An
identity
block as defined below.- immutability string
Immutability Settings of vault, possible values include:
Locked
,Unlocked
andDisabled
.- 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.
- public
Network booleanAccess Enabled Is it enabled to access the vault from public networks. Defaults to
true
.- resource
Group stringName 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
.- soft
Delete booleanEnabled Is soft delete enable for this Vault? Defaults to
true
.- storage
Mode stringType The storage type of the Recovery Services Vault. Possible values are
GeoRedundant
,LocallyRedundant
andZoneRedundant
. Defaults toGeoRedundant
.- {[key: string]: string}
A mapping of tags to assign to the resource.
- classic_
vmware_ boolreplication_ enabled Whether to enable the Classic experience for VMware replication. If set to
false
VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.- cross_
region_ boolrestore_ enabled Is cross region restore enabled for this Vault? Only can be
true
, whenstorage_mode_type
isGeoRedundant
. Defaults tofalse
.- encryption
Vault
Encryption Args An
encryption
block as defined below. Required withidentity
.- identity
Vault
Identity Args An
identity
block as defined below.- immutability str
Immutability Settings of vault, possible values include:
Locked
,Unlocked
andDisabled
.- 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.
- public_
network_ boolaccess_ enabled Is it enabled to access the vault from public networks. Defaults to
true
.- resource_
group_ strname 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_ boolenabled Is soft delete enable for this Vault? Defaults to
true
.- storage_
mode_ strtype The storage type of the Recovery Services Vault. Possible values are
GeoRedundant
,LocallyRedundant
andZoneRedundant
. Defaults toGeoRedundant
.- Mapping[str, str]
A mapping of tags to assign to the resource.
- classic
Vmware BooleanReplication Enabled Whether to enable the Classic experience for VMware replication. If set to
false
VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.- cross
Region BooleanRestore Enabled Is cross region restore enabled for this Vault? Only can be
true
, whenstorage_mode_type
isGeoRedundant
. Defaults tofalse
.- encryption Property Map
An
encryption
block as defined below. Required withidentity
.- identity Property Map
An
identity
block as defined below.- immutability String
Immutability Settings of vault, possible values include:
Locked
,Unlocked
andDisabled
.- 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.
- public
Network BooleanAccess Enabled Is it enabled to access the vault from public networks. Defaults to
true
.- resource
Group StringName 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
.- soft
Delete BooleanEnabled Is soft delete enable for this Vault? Defaults to
true
.- storage
Mode StringType The storage type of the Recovery Services Vault. Possible values are
GeoRedundant
,LocallyRedundant
andZoneRedundant
. Defaults toGeoRedundant
.- Map<String>
A mapping of tags to assign to the resource.
Supporting Types
VaultEncryption
- Infrastructure
Encryption boolEnabled Enabling/Disabling the Double Encryption state.
- Key
Id string The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
- Use
System boolAssigned Identity Indicate that system assigned identity should be used or not. Defaults to
true
.- User
Assigned stringIdentity Id Specifies the user assigned identity ID to be used.
- Infrastructure
Encryption boolEnabled Enabling/Disabling the Double Encryption state.
- Key
Id string The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
- Use
System boolAssigned Identity Indicate that system assigned identity should be used or not. Defaults to
true
.- User
Assigned stringIdentity Id Specifies the user assigned identity ID to be used.
- infrastructure
Encryption BooleanEnabled Enabling/Disabling the Double Encryption state.
- key
Id String The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
- use
System BooleanAssigned Identity Indicate that system assigned identity should be used or not. Defaults to
true
.- user
Assigned StringIdentity Id Specifies the user assigned identity ID to be used.
- infrastructure
Encryption booleanEnabled Enabling/Disabling the Double Encryption state.
- key
Id string The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
- use
System booleanAssigned Identity Indicate that system assigned identity should be used or not. Defaults to
true
.- user
Assigned stringIdentity Id Specifies the user assigned identity ID to be used.
- infrastructure_
encryption_ boolenabled 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_ boolassigned_ identity Indicate that system assigned identity should be used or not. Defaults to
true
.- user_
assigned_ stridentity_ id Specifies the user assigned identity ID to be used.
- infrastructure
Encryption BooleanEnabled Enabling/Disabling the Double Encryption state.
- key
Id String The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
- use
System BooleanAssigned Identity Indicate that system assigned identity should be used or not. Defaults to
true
.- user
Assigned StringIdentity Id Specifies the user assigned identity ID to be used.
VaultIdentity
- Type string
Specifies the type of Managed Service Identity that should be configured on this Recovery Services Vault. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both).- Identity
Ids List<string> A list of User Assigned Managed Identity IDs to be assigned to this App Configuration.
- Principal
Id string The Principal ID associated with this Managed Service Identity.
- Tenant
Id string The Tenant ID associated with this Managed Service Identity.
- Type string
Specifies the type of Managed Service Identity that should be configured on this Recovery Services Vault. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both).- Identity
Ids []string A list of User Assigned Managed Identity IDs to be assigned to this App Configuration.
- Principal
Id string The Principal ID associated with this Managed Service Identity.
- Tenant
Id string The Tenant ID associated with this Managed Service Identity.
- type String
Specifies the type of Managed Service Identity that should be configured on this Recovery Services Vault. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both).- identity
Ids List<String> A list of User Assigned Managed Identity IDs to be assigned to this App Configuration.
- principal
Id String The Principal ID associated with this Managed Service Identity.
- tenant
Id String The Tenant ID associated with this Managed Service Identity.
- type string
Specifies the type of Managed Service Identity that should be configured on this Recovery Services Vault. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both).- identity
Ids string[] A list of User Assigned Managed Identity IDs to be assigned to this App Configuration.
- principal
Id string The Principal ID associated with this Managed Service Identity.
- tenant
Id string The Tenant ID associated with this Managed Service Identity.
- type str
Specifies the type of Managed Service Identity that should be configured on this Recovery Services Vault. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both).- identity_
ids Sequence[str] A list of User Assigned Managed Identity IDs to be assigned to this App Configuration.
- principal_
id str The Principal ID associated with this Managed Service Identity.
- tenant_
id str The Tenant ID associated with this Managed Service Identity.
- type String
Specifies the type of Managed Service Identity that should be configured on this Recovery Services Vault. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both).- identity
Ids List<String> A list of User Assigned Managed Identity IDs to be assigned to this App Configuration.
- principal
Id String The Principal ID associated with this Managed Service Identity.
- tenant
Id String The Tenant ID associated with this Managed Service Identity.
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
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.