This page documents the language specification for the azure package. If you're looking for help working with the inputs, outputs, or functions of azure resources in a Pulumi program, please see the resource documentation for examples and API reference.

siterecovery

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.siterecovery.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 Site Recovery Replication Fabric within a Recovery Services vault. Only Azure fabrics are supported at this time. Replication Fabrics serve as a container within an Azure region for other Site Recovery resources such as protection containers, protected items, network mappings.

import pulumi
import pulumi_azure as azure

primary = azure.core.ResourceGroup("primary", location="West US")
secondary = azure.core.ResourceGroup("secondary", location="East US")
vault = azure.recoveryservices.Vault("vault",
    location=secondary.location,
    resource_group_name=secondary.name,
    sku="Standard")
fabric = azure.siterecovery.Fabric("fabric",
    resource_group_name=secondary.name,
    recovery_vault_name=vault.name,
    location=primary.location)
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: pulumi.Output[str] = None

In what region should the fabric be located.

name: pulumi.Output[str] = None

The name of the network mapping.

recovery_vault_name: pulumi.Output[str] = None

The name of the vault that should be updated.

resource_group_name: pulumi.Output[str] = 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.siterecovery.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.

import pulumi
import pulumi_azure as azure

primary_resource_group = azure.core.ResourceGroup("primaryResourceGroup", location="West US")
secondary_resource_group = azure.core.ResourceGroup("secondaryResourceGroup", location="East US")
vault = azure.recoveryservices.Vault("vault",
    location=secondary_resource_group.location,
    resource_group_name=secondary_resource_group.name,
    sku="Standard")
primary_fabric = azure.siterecovery.Fabric("primaryFabric",
    resource_group_name=secondary_resource_group.name,
    recovery_vault_name=vault.name,
    location=primary_resource_group.location)
secondary_fabric = azure.siterecovery.Fabric("secondaryFabric",
    resource_group_name=secondary_resource_group.name,
    recovery_vault_name=vault.name,
    location=secondary_resource_group.location)
# Avoids issues with crearing fabrics simultainusly
primary_virtual_network = azure.network.VirtualNetwork("primaryVirtualNetwork",
    resource_group_name=primary_resource_group.name,
    address_spaces=["192.168.1.0/24"],
    location=primary_resource_group.location)
secondary_virtual_network = azure.network.VirtualNetwork("secondaryVirtualNetwork",
    resource_group_name=secondary_resource_group.name,
    address_spaces=["192.168.2.0/24"],
    location=secondary_resource_group.location)
recovery_mapping = azure.siterecovery.NetworkMapping("recovery-mapping",
    resource_group_name=secondary_resource_group.name,
    recovery_vault_name=vault.name,
    source_recovery_fabric_name="primary-fabric",
    target_recovery_fabric_name="secondary-fabric",
    source_network_id=primary_virtual_network.id,
    target_network_id=secondary_virtual_network.id)
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: pulumi.Output[str] = None

The name of the network mapping.

recovery_vault_name: pulumi.Output[str] = None

The name of the vault that should be updated.

resource_group_name: pulumi.Output[str] = None

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

source_network_id: pulumi.Output[str] = None

The id of the primary network.

source_recovery_fabric_name: pulumi.Output[str] = None

Specifies the ASR fabric where mapping should be created.

target_network_id: pulumi.Output[str] = None

The id of the recovery network.

target_recovery_fabric_name: pulumi.Output[str] = 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.siterecovery.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 Site Recovery protection container. Protection containers serve as containers for replicated VMs and belong to a single region / recovery fabric. Protection containers can contain more than one replicated VM. To replicate a VM, a container must exist in both the source and target Azure regions.

import pulumi
import pulumi_azure as azure

primary = azure.core.ResourceGroup("primary", location="West US")
secondary = azure.core.ResourceGroup("secondary", location="East US")
vault = azure.recoveryservices.Vault("vault",
    location=secondary.location,
    resource_group_name=secondary.name,
    sku="Standard")
fabric = azure.siterecovery.Fabric("fabric",
    resource_group_name=secondary.name,
    recovery_vault_name=vault.name,
    location=primary.location)
protection_container = azure.siterecovery.ProtectionContainer("protection-container",
    resource_group_name=secondary.name,
    recovery_vault_name=vault.name,
    recovery_fabric_name=fabric.name)
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: pulumi.Output[str] = None

The name of the network mapping.

recovery_fabric_name: pulumi.Output[str] = None

Name of fabric that should contain this protection container.

recovery_vault_name: pulumi.Output[str] = None

The name of the vault that should be updated.

resource_group_name: pulumi.Output[str] = 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.siterecovery.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 protection container mapping decides how to translate the protection container when a VM is migrated from one region to another.

import pulumi
import pulumi_azure as azure

primary_resource_group = azure.core.ResourceGroup("primaryResourceGroup", location="West US")
secondary_resource_group = azure.core.ResourceGroup("secondaryResourceGroup", location="East US")
vault = azure.recoveryservices.Vault("vault",
    location=secondary_resource_group.location,
    resource_group_name=secondary_resource_group.name,
    sku="Standard")
primary_fabric = azure.siterecovery.Fabric("primaryFabric",
    resource_group_name=secondary_resource_group.name,
    recovery_vault_name=vault.name,
    location=primary_resource_group.location)
secondary_fabric = azure.siterecovery.Fabric("secondaryFabric",
    resource_group_name=secondary_resource_group.name,
    recovery_vault_name=vault.name,
    location=secondary_resource_group.location)
primary_protection_container = azure.siterecovery.ProtectionContainer("primaryProtectionContainer",
    resource_group_name=secondary_resource_group.name,
    recovery_vault_name=vault.name,
    recovery_fabric_name=primary_fabric.name)
secondary_protection_container = azure.siterecovery.ProtectionContainer("secondaryProtectionContainer",
    resource_group_name=secondary_resource_group.name,
    recovery_vault_name=vault.name,
    recovery_fabric_name=secondary_fabric.name)
policy = azure.siterecovery.ReplicationPolicy("policy",
    resource_group_name=secondary_resource_group.name,
    recovery_vault_name=vault.name,
    recovery_point_retention_in_minutes=24 * 60,
    application_consistent_snapshot_frequency_in_minutes=4 * 60)
container_mapping = azure.siterecovery.ProtectionContainerMapping("container-mapping",
    resource_group_name=secondary_resource_group.name,
    recovery_vault_name=vault.name,
    recovery_fabric_name=primary_fabric.name,
    recovery_source_protection_container_name=primary_protection_container.name,
    recovery_target_protection_container_id=secondary_protection_container.id,
    recovery_replication_policy_id=policy.id)
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 source protection container to map.

  • recovery_target_protection_container_id (pulumi.Input[str]) – Id of target 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: pulumi.Output[str] = None

The name of the network mapping.

recovery_fabric_name: pulumi.Output[str] = None

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

recovery_replication_policy_id: pulumi.Output[str] = None

Id of the policy to use for this mapping.

recovery_source_protection_container_name: pulumi.Output[str] = None

Name of the source protection container to map.

recovery_target_protection_container_id: pulumi.Output[str] = None

Id of target protection container to map to.

recovery_vault_name: pulumi.Output[str] = None

The name of the vault that should be updated.

resource_group_name: pulumi.Output[str] = 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 source protection container to map.

  • recovery_target_protection_container_id (pulumi.Input[str]) – Id of target 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.siterecovery.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 VM replicated using Azure Site Recovery (Azure to Azure only). A 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]) - Id of disk that should be replicated.

  • stagingStorageAccountId (pulumi.Input[str]) - Storage account that should be used for caching.

  • targetDiskType (pulumi.Input[str]) - What type should the disk be when a failover is done.

  • targetReplicaDiskType (pulumi.Input[str]) - What type should the disk be that holds the replication data.

  • target_resource_group_id (pulumi.Input[str]) - Resource group disk should belong to when a failover is done.

managed_disks: pulumi.Output[list] = None

One or more managed_disk block.

  • diskId (str) - Id of disk that should be replicated.

  • stagingStorageAccountId (str) - Storage account that should be used for caching.

  • targetDiskType (str) - What type should the disk be when a failover is done.

  • targetReplicaDiskType (str) - What type should the disk be that holds the replication data.

  • target_resource_group_id (str) - Resource group disk should belong to when a failover is done.

name: pulumi.Output[str] = None

The name of the network mapping.

recovery_vault_name: pulumi.Output[str] = None

The name of the vault that should be updated.

resource_group_name: pulumi.Output[str] = None

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

source_recovery_fabric_name: pulumi.Output[str] = None

Name of fabric that should contains this replication.

source_recovery_protection_container_name: pulumi.Output[str] = None

Name of the protection container to use.

source_vm_id: pulumi.Output[str] = None

Id of the VM to replicate

target_availability_set_id: pulumi.Output[str] = None

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

target_recovery_fabric_id: pulumi.Output[str] = None

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

target_recovery_protection_container_id: pulumi.Output[str] = None

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

target_resource_group_id: pulumi.Output[str] = 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]) - Id of disk that should be replicated.

  • stagingStorageAccountId (pulumi.Input[str]) - Storage account that should be used for caching.

  • targetDiskType (pulumi.Input[str]) - What type should the disk be when a failover is done.

  • targetReplicaDiskType (pulumi.Input[str]) - What type should the disk be that holds the replication data.

  • target_resource_group_id (pulumi.Input[str]) - Resource group disk should belong to 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.siterecovery.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 Site Recovery replication policy within a recovery vault. Replication policies define the frequency at which recovery points are created and how long they are stored.

import pulumi
import pulumi_azure as azure

secondary = azure.core.ResourceGroup("secondary", location="East US")
vault = azure.recoveryservices.Vault("vault",
    location=secondary.location,
    resource_group_name=secondary.name,
    sku="Standard")
policy = azure.siterecovery.ReplicationPolicy("policy",
    resource_group_name=secondary.name,
    recovery_vault_name=vault.name,
    recovery_point_retention_in_minutes=24 * 60,
    application_consistent_snapshot_frequency_in_minutes=4 * 60)
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]) – The duration in minutes for which the recovery points need to be stored.

  • 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: pulumi.Output[float] = None

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

name: pulumi.Output[str] = None

The name of the network mapping.

recovery_point_retention_in_minutes: pulumi.Output[float] = None

The duration in minutes for which the recovery points need to be stored.

recovery_vault_name: pulumi.Output[str] = None

The name of the vault that should be updated.

resource_group_name: pulumi.Output[str] = 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]) – The duration in minutes for which the recovery points need to be stored.

  • 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