recoveryservices

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-azure repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-azurerm repo.

class pulumi_azure.recoveryservices.AwaitableGetVMProtectionPolicyResult(name=None, recovery_vault_name=None, resource_group_name=None, tags=None, id=None)
class pulumi_azure.recoveryservices.AwaitableGetVaultResult(location=None, name=None, resource_group_name=None, sku=None, tags=None, id=None)
class pulumi_azure.recoveryservices.Fabric(resource_name, opts=None, location=None, name=None, recovery_vault_name=None, resource_group_name=None, __props__=None, __name__=None, __opts__=None)

Manages a Azure recovery vault fabric.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • location (pulumi.Input[str]) – In what region should the fabric be located.

  • name (pulumi.Input[str]) – The name of the network mapping.

  • recovery_vault_name (pulumi.Input[str]) – The name of the vault that should be updated.

  • resource_group_name (pulumi.Input[str]) – Name of the resource group where the vault that should be updated is located.

location = None

In what region should the fabric be located.

name = None

The name of the network mapping.

recovery_vault_name = None

The name of the vault that should be updated.

resource_group_name = None

Name of the resource group where the vault that should be updated is located.

static get(resource_name, id, opts=None, location=None, name=None, recovery_vault_name=None, resource_group_name=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • location (pulumi.Input[str]) – In what region should the fabric be located.

  • name (pulumi.Input[str]) – The name of the network mapping.

  • recovery_vault_name (pulumi.Input[str]) – The name of the vault that should be updated.

  • resource_group_name (pulumi.Input[str]) – Name of the resource group where the vault that should be updated is located.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.recoveryservices.GetVMProtectionPolicyResult(name=None, recovery_vault_name=None, resource_group_name=None, tags=None, id=None)

A collection of values returned by getVMProtectionPolicy.

tags = None

A mapping of tags assigned to the resource.

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_azure.recoveryservices.GetVaultResult(location=None, name=None, resource_group_name=None, sku=None, tags=None, id=None)

A collection of values returned by getVault.

location = None

The Azure location where the resource resides.

sku = None

The vault’s current SKU.

tags = None

A mapping of tags assigned to the resource.

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_azure.recoveryservices.NetworkMapping(resource_name, opts=None, name=None, recovery_vault_name=None, resource_group_name=None, source_network_id=None, source_recovery_fabric_name=None, target_network_id=None, target_recovery_fabric_name=None, __props__=None, __name__=None, __opts__=None)

Manages a site recovery network mapping on Azure. A network mapping decides how to translate connected netwroks when a VM is migrated from one region to another.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • name (pulumi.Input[str]) – The name of the network mapping.

  • recovery_vault_name (pulumi.Input[str]) – The name of the vault that should be updated.

  • resource_group_name (pulumi.Input[str]) – Name of the resource group where the vault that should be updated is located.

  • source_network_id (pulumi.Input[str]) – The id of the primary network.

  • source_recovery_fabric_name (pulumi.Input[str]) – Specifies the ASR fabric where mapping should be created.

  • target_network_id (pulumi.Input[str]) – The id of the recovery network.

  • target_recovery_fabric_name (pulumi.Input[str]) – The Azure Site Recovery fabric object corresponding to the recovery Azure region.

name = None

The name of the network mapping.

recovery_vault_name = None

The name of the vault that should be updated.

resource_group_name = None

Name of the resource group where the vault that should be updated is located.

source_network_id = None

The id of the primary network.

source_recovery_fabric_name = None

Specifies the ASR fabric where mapping should be created.

target_network_id = None

The id of the recovery network.

target_recovery_fabric_name = None

The Azure Site Recovery fabric object corresponding to the recovery Azure region.

static get(resource_name, id, opts=None, name=None, recovery_vault_name=None, resource_group_name=None, source_network_id=None, source_recovery_fabric_name=None, target_network_id=None, target_recovery_fabric_name=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • name (pulumi.Input[str]) – The name of the network mapping.

  • recovery_vault_name (pulumi.Input[str]) – The name of the vault that should be updated.

  • resource_group_name (pulumi.Input[str]) – Name of the resource group where the vault that should be updated is located.

  • source_network_id (pulumi.Input[str]) – The id of the primary network.

  • source_recovery_fabric_name (pulumi.Input[str]) – Specifies the ASR fabric where mapping should be created.

  • target_network_id (pulumi.Input[str]) – The id of the recovery network.

  • target_recovery_fabric_name (pulumi.Input[str]) – The Azure Site Recovery fabric object corresponding to the recovery Azure region.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.recoveryservices.ProtectedVM(resource_name, opts=None, backup_policy_id=None, recovery_vault_name=None, resource_group_name=None, source_vm_id=None, tags=None, __props__=None, __name__=None, __opts__=None)

Manages an Recovery Protected VM.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • backup_policy_id (pulumi.Input[str]) – Specifies the id of the backup policy to use.

  • recovery_vault_name (pulumi.Input[str]) – Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created.

  • source_vm_id (pulumi.Input[str]) – Specifies the ID of the VM to backup. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

backup_policy_id = None

Specifies the id of the backup policy to use.

recovery_vault_name = None

Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.

resource_group_name = None

The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created.

source_vm_id = None

Specifies the ID of the VM to backup. Changing this forces a new resource to be created.

tags = None

A mapping of tags to assign to the resource.

static get(resource_name, id, opts=None, backup_policy_id=None, recovery_vault_name=None, resource_group_name=None, source_vm_id=None, tags=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • backup_policy_id (pulumi.Input[str]) – Specifies the id of the backup policy to use.

  • recovery_vault_name (pulumi.Input[str]) – Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created.

  • source_vm_id (pulumi.Input[str]) – Specifies the ID of the VM to backup. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.recoveryservices.ProtectionContainer(resource_name, opts=None, name=None, recovery_fabric_name=None, recovery_vault_name=None, resource_group_name=None, __props__=None, __name__=None, __opts__=None)

Manages a Azure recovery vault protection container.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • name (pulumi.Input[str]) – The name of the network mapping.

  • recovery_fabric_name (pulumi.Input[str]) – Name of fabric that should contain this protection container.

  • recovery_vault_name (pulumi.Input[str]) – The name of the vault that should be updated.

  • resource_group_name (pulumi.Input[str]) – Name of the resource group where the vault that should be updated is located.

name = None

The name of the network mapping.

recovery_fabric_name = None

Name of fabric that should contain this protection container.

recovery_vault_name = None

The name of the vault that should be updated.

resource_group_name = None

Name of the resource group where the vault that should be updated is located.

static get(resource_name, id, opts=None, name=None, recovery_fabric_name=None, recovery_vault_name=None, resource_group_name=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • name (pulumi.Input[str]) – The name of the network mapping.

  • recovery_fabric_name (pulumi.Input[str]) – Name of fabric that should contain this protection container.

  • recovery_vault_name (pulumi.Input[str]) – The name of the vault that should be updated.

  • resource_group_name (pulumi.Input[str]) – Name of the resource group where the vault that should be updated is located.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.recoveryservices.ProtectionContainerMapping(resource_name, opts=None, name=None, recovery_fabric_name=None, recovery_replication_policy_id=None, recovery_source_protection_container_name=None, recovery_target_protection_container_id=None, recovery_vault_name=None, resource_group_name=None, __props__=None, __name__=None, __opts__=None)

Manages a Azure recovery vault protection container mapping. A network protection container mapping decides how to translate the protection container when a VM is migrated from one region to another.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • name (pulumi.Input[str]) – The name of the network mapping.

  • recovery_fabric_name (pulumi.Input[str]) – Name of fabric that should contains the protection container to map.

  • recovery_replication_policy_id (pulumi.Input[str]) – Id of the policy to use for this mapping.

  • recovery_source_protection_container_name (pulumi.Input[str]) – Name of the protection container to map.

  • recovery_target_protection_container_id (pulumi.Input[str]) – Id of protection container to map to.

  • recovery_vault_name (pulumi.Input[str]) – The name of the vault that should be updated.

  • resource_group_name (pulumi.Input[str]) – Name of the resource group where the vault that should be updated is located.

name = None

The name of the network mapping.

recovery_fabric_name = None

Name of fabric that should contains the protection container to map.

recovery_replication_policy_id = None

Id of the policy to use for this mapping.

recovery_source_protection_container_name = None

Name of the protection container to map.

recovery_target_protection_container_id = None

Id of protection container to map to.

recovery_vault_name = None

The name of the vault that should be updated.

resource_group_name = None

Name of the resource group where the vault that should be updated is located.

static get(resource_name, id, opts=None, name=None, recovery_fabric_name=None, recovery_replication_policy_id=None, recovery_source_protection_container_name=None, recovery_target_protection_container_id=None, recovery_vault_name=None, resource_group_name=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • name (pulumi.Input[str]) – The name of the network mapping.

  • recovery_fabric_name (pulumi.Input[str]) – Name of fabric that should contains the protection container to map.

  • recovery_replication_policy_id (pulumi.Input[str]) – Id of the policy to use for this mapping.

  • recovery_source_protection_container_name (pulumi.Input[str]) – Name of the protection container to map.

  • recovery_target_protection_container_id (pulumi.Input[str]) – Id of protection container to map to.

  • recovery_vault_name (pulumi.Input[str]) – The name of the vault that should be updated.

  • resource_group_name (pulumi.Input[str]) – Name of the resource group where the vault that should be updated is located.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.recoveryservices.ProtectionPolicyVM(resource_name, opts=None, backup=None, name=None, recovery_vault_name=None, resource_group_name=None, retention_daily=None, retention_monthly=None, retention_weekly=None, retention_yearly=None, tags=None, timezone=None, __props__=None, __name__=None, __opts__=None)

Manages an Recovery Services VM Protection Policy.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • backup (pulumi.Input[dict]) – Configures the Policy backup frequecent, times & days as documented in the backup block below.

  • name (pulumi.Input[str]) – Specifies the name of the Recovery Services Vault Policy. Changing this forces a new resource to be created.

  • recovery_vault_name (pulumi.Input[str]) – Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created.

  • retention_daily (pulumi.Input[dict]) – Configures the policy daily retention as documented in the retention_daily block below. Required when backup frequency is Daily.

  • retention_monthly (pulumi.Input[dict]) – Configures the policy monthly retention as documented in the retention_monthly block below.

  • retention_weekly (pulumi.Input[dict]) – Configures the policy weekly retention as documented in the retention_weekly block below. Required when backup frequency is Weekly.

  • retention_yearly (pulumi.Input[dict]) – Configures the policy yearly retention as documented in the retention_yearly block below.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

  • timezone (pulumi.Input[str]) – Specifies the timezone. Defaults to UTC

The backup object supports the following:

  • frequency (pulumi.Input[str])

  • time (pulumi.Input[str])

  • weekdays (pulumi.Input[list])

The retention_daily object supports the following:

  • count (pulumi.Input[float])

The retention_monthly object supports the following:

  • count (pulumi.Input[float])

  • weekdays (pulumi.Input[list])

  • weeks (pulumi.Input[list])

The retention_weekly object supports the following:

  • count (pulumi.Input[float])

  • weekdays (pulumi.Input[list])

The retention_yearly object supports the following:

  • count (pulumi.Input[float])

  • months (pulumi.Input[list])

  • weekdays (pulumi.Input[list])

  • weeks (pulumi.Input[list])

backup = None

Configures the Policy backup frequecent, times & days as documented in the backup block below.

  • frequency (str)

  • time (str)

  • weekdays (list)

name = None

Specifies the name of the Recovery Services Vault Policy. Changing this forces a new resource to be created.

recovery_vault_name = None

Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.

resource_group_name = None

The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created.

retention_daily = None

Configures the policy daily retention as documented in the retention_daily block below. Required when backup frequency is Daily.

  • count (float)

retention_monthly = None

Configures the policy monthly retention as documented in the retention_monthly block below.

  • count (float)

  • weekdays (list)

  • weeks (list)

retention_weekly = None

Configures the policy weekly retention as documented in the retention_weekly block below. Required when backup frequency is Weekly.

  • count (float)

  • weekdays (list)

retention_yearly = None

Configures the policy yearly retention as documented in the retention_yearly block below.

  • count (float)

  • months (list)

  • weekdays (list)

  • weeks (list)

tags = None

A mapping of tags to assign to the resource.

timezone = None

Specifies the timezone. Defaults to UTC

static get(resource_name, id, opts=None, backup=None, name=None, recovery_vault_name=None, resource_group_name=None, retention_daily=None, retention_monthly=None, retention_weekly=None, retention_yearly=None, tags=None, timezone=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • backup (pulumi.Input[dict]) – Configures the Policy backup frequecent, times & days as documented in the backup block below.

  • name (pulumi.Input[str]) – Specifies the name of the Recovery Services Vault Policy. Changing this forces a new resource to be created.

  • recovery_vault_name (pulumi.Input[str]) – Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created.

  • retention_daily (pulumi.Input[dict]) – Configures the policy daily retention as documented in the retention_daily block below. Required when backup frequency is Daily.

  • retention_monthly (pulumi.Input[dict]) – Configures the policy monthly retention as documented in the retention_monthly block below.

  • retention_weekly (pulumi.Input[dict]) – Configures the policy weekly retention as documented in the retention_weekly block below. Required when backup frequency is Weekly.

  • retention_yearly (pulumi.Input[dict]) – Configures the policy yearly retention as documented in the retention_yearly block below.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

  • timezone (pulumi.Input[str]) – Specifies the timezone. Defaults to UTC

The backup object supports the following:

  • frequency (pulumi.Input[str])

  • time (pulumi.Input[str])

  • weekdays (pulumi.Input[list])

The retention_daily object supports the following:

  • count (pulumi.Input[float])

The retention_monthly object supports the following:

  • count (pulumi.Input[float])

  • weekdays (pulumi.Input[list])

  • weeks (pulumi.Input[list])

The retention_weekly object supports the following:

  • count (pulumi.Input[float])

  • weekdays (pulumi.Input[list])

The retention_yearly object supports the following:

  • count (pulumi.Input[float])

  • months (pulumi.Input[list])

  • weekdays (pulumi.Input[list])

  • weeks (pulumi.Input[list])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.recoveryservices.ReplicatedVm(resource_name, opts=None, managed_disks=None, name=None, recovery_replication_policy_id=None, recovery_vault_name=None, resource_group_name=None, source_recovery_fabric_name=None, source_recovery_protection_container_name=None, source_vm_id=None, target_availability_set_id=None, target_recovery_fabric_id=None, target_recovery_protection_container_id=None, target_resource_group_id=None, __props__=None, __name__=None, __opts__=None)

Manages a Azure recovery replicated vms (Azure to Azure). An replicated VM keeps a copiously updated image of the vm in another region in order to be able to start the VM in that region in case of a disaster.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • managed_disks (pulumi.Input[list]) – One or more managed_disk block.

  • name (pulumi.Input[str]) – The name of the network mapping.

  • recovery_vault_name (pulumi.Input[str]) – The name of the vault that should be updated.

  • resource_group_name (pulumi.Input[str]) – Name of the resource group where the vault that should be updated is located.

  • source_recovery_fabric_name (pulumi.Input[str]) – Name of fabric that should contains this replication.

  • source_recovery_protection_container_name (pulumi.Input[str]) – Name of the protection container to use.

  • source_vm_id (pulumi.Input[str]) – Id of the VM to replicate

  • target_availability_set_id (pulumi.Input[str]) – Id of availability set that the new VM should belong to when a failover is done.

  • target_recovery_fabric_id (pulumi.Input[str]) – Id of fabric where the VM replication should be handled when a failover is done.

  • target_recovery_protection_container_id (pulumi.Input[str]) – Id of protection container where the VM replication should be created when a failover is done.

  • target_resource_group_id (pulumi.Input[str]) – Id of resource group where the VM should be created when a failover is done.

The managed_disks object supports the following:

  • diskId (pulumi.Input[str])

  • stagingStorageAccountId (pulumi.Input[str])

  • targetDiskType (pulumi.Input[str])

  • targetReplicaDiskType (pulumi.Input[str])

  • target_resource_group_id (pulumi.Input[str]) - Id of resource group where the VM should be created when a failover is done.

managed_disks = None

One or more managed_disk block.

  • diskId (str)

  • stagingStorageAccountId (str)

  • targetDiskType (str)

  • targetReplicaDiskType (str)

  • target_resource_group_id (str) - Id of resource group where the VM should be created when a failover is done.

name = None

The name of the network mapping.

recovery_vault_name = None

The name of the vault that should be updated.

resource_group_name = None

Name of the resource group where the vault that should be updated is located.

source_recovery_fabric_name = None

Name of fabric that should contains this replication.

source_recovery_protection_container_name = None

Name of the protection container to use.

source_vm_id = None

Id of the VM to replicate

target_availability_set_id = None

Id of availability set that the new VM should belong to when a failover is done.

target_recovery_fabric_id = None

Id of fabric where the VM replication should be handled when a failover is done.

target_recovery_protection_container_id = None

Id of protection container where the VM replication should be created when a failover is done.

target_resource_group_id = None

Id of resource group where the VM should be created when a failover is done.

static get(resource_name, id, opts=None, managed_disks=None, name=None, recovery_replication_policy_id=None, recovery_vault_name=None, resource_group_name=None, source_recovery_fabric_name=None, source_recovery_protection_container_name=None, source_vm_id=None, target_availability_set_id=None, target_recovery_fabric_id=None, target_recovery_protection_container_id=None, target_resource_group_id=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • managed_disks (pulumi.Input[list]) – One or more managed_disk block.

  • name (pulumi.Input[str]) – The name of the network mapping.

  • recovery_vault_name (pulumi.Input[str]) – The name of the vault that should be updated.

  • resource_group_name (pulumi.Input[str]) – Name of the resource group where the vault that should be updated is located.

  • source_recovery_fabric_name (pulumi.Input[str]) – Name of fabric that should contains this replication.

  • source_recovery_protection_container_name (pulumi.Input[str]) – Name of the protection container to use.

  • source_vm_id (pulumi.Input[str]) – Id of the VM to replicate

  • target_availability_set_id (pulumi.Input[str]) – Id of availability set that the new VM should belong to when a failover is done.

  • target_recovery_fabric_id (pulumi.Input[str]) – Id of fabric where the VM replication should be handled when a failover is done.

  • target_recovery_protection_container_id (pulumi.Input[str]) – Id of protection container where the VM replication should be created when a failover is done.

  • target_resource_group_id (pulumi.Input[str]) – Id of resource group where the VM should be created when a failover is done.

The managed_disks object supports the following:

  • diskId (pulumi.Input[str])

  • stagingStorageAccountId (pulumi.Input[str])

  • targetDiskType (pulumi.Input[str])

  • targetReplicaDiskType (pulumi.Input[str])

  • target_resource_group_id (pulumi.Input[str]) - Id of resource group where the VM should be created when a failover is done.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.recoveryservices.ReplicationPolicy(resource_name, opts=None, application_consistent_snapshot_frequency_in_minutes=None, name=None, recovery_point_retention_in_minutes=None, recovery_vault_name=None, resource_group_name=None, __props__=None, __name__=None, __opts__=None)

Manages a Azure recovery vault replication policy.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • application_consistent_snapshot_frequency_in_minutes (pulumi.Input[float]) – Specifies the frequency(in minutes) at which to create application consistent recovery points.

  • name (pulumi.Input[str]) – The name of the network mapping.

  • recovery_point_retention_in_minutes (pulumi.Input[float]) – Retain the recovery points for given time in minutes.

  • recovery_vault_name (pulumi.Input[str]) – The name of the vault that should be updated.

  • resource_group_name (pulumi.Input[str]) – Name of the resource group where the vault that should be updated is located.

application_consistent_snapshot_frequency_in_minutes = None

Specifies the frequency(in minutes) at which to create application consistent recovery points.

name = None

The name of the network mapping.

recovery_point_retention_in_minutes = None

Retain the recovery points for given time in minutes.

recovery_vault_name = None

The name of the vault that should be updated.

resource_group_name = None

Name of the resource group where the vault that should be updated is located.

static get(resource_name, id, opts=None, application_consistent_snapshot_frequency_in_minutes=None, name=None, recovery_point_retention_in_minutes=None, recovery_vault_name=None, resource_group_name=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • application_consistent_snapshot_frequency_in_minutes (pulumi.Input[float]) – Specifies the frequency(in minutes) at which to create application consistent recovery points.

  • name (pulumi.Input[str]) – The name of the network mapping.

  • recovery_point_retention_in_minutes (pulumi.Input[float]) – Retain the recovery points for given time in minutes.

  • recovery_vault_name (pulumi.Input[str]) – The name of the vault that should be updated.

  • resource_group_name (pulumi.Input[str]) – Name of the resource group where the vault that should be updated is located.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.recoveryservices.Vault(resource_name, opts=None, location=None, name=None, resource_group_name=None, sku=None, tags=None, __props__=None, __name__=None, __opts__=None)

Manages an Recovery Services Vault.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – Specifies the name of the Recovery Services Vault. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[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 (pulumi.Input[str]) – Sets the vault’s SKU. Possible values include: Standard, RS0.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

location = None

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name = None

Specifies the name of the Recovery Services Vault. Changing this forces a new resource to be created.

resource_group_name = None

The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.

sku = None

Sets the vault’s SKU. Possible values include: Standard, RS0.

tags = None

A mapping of tags to assign to the resource.

static get(resource_name, id, opts=None, location=None, name=None, resource_group_name=None, sku=None, tags=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – Specifies the name of the Recovery Services Vault. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[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 (pulumi.Input[str]) – Sets the vault’s SKU. Possible values include: Standard, RS0.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

pulumi_azure.recoveryservices.get_vault(name=None, resource_group_name=None, opts=None)

Use this data source to access information about an existing Recovery Services Vault.

Parameters
  • name (str) – Specifies the name of the Recovery Services Vault.

  • resource_group_name (str) – The name of the resource group in which the Recovery Services Vault resides.

pulumi_azure.recoveryservices.get_vm_protection_policy(name=None, recovery_vault_name=None, resource_group_name=None, opts=None)

Use this data source to access information about an existing Recovery Services VM Protection Policy.

Parameters
  • name (str) – Specifies the name of the Recovery Services VM Protection Policy.

  • recovery_vault_name (str) – Specifies the name of the Recovery Services Vault.

  • resource_group_name (str) – The name of the resource group in which the Recovery Services VM Protection Policy resides.