1. Packages
  2. Azure Classic
  3. API Docs
  4. siterecovery
  5. ReplicationPolicy

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

azure.siterecovery.ReplicationPolicy

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

    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.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "tfex-network-mapping-secondary",
        location: "East US",
    });
    const vault = new azure.recoveryservices.Vault("vault", {
        name: "example-recovery-vault",
        location: example.location,
        resourceGroupName: example.name,
        sku: "Standard",
    });
    const policy = new azure.siterecovery.ReplicationPolicy("policy", {
        name: "policy",
        resourceGroupName: example.name,
        recoveryVaultName: vault.name,
        recoveryPointRetentionInMinutes: 24 * 60,
        applicationConsistentSnapshotFrequencyInMinutes: 4 * 60,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="tfex-network-mapping-secondary",
        location="East US")
    vault = azure.recoveryservices.Vault("vault",
        name="example-recovery-vault",
        location=example.location,
        resource_group_name=example.name,
        sku="Standard")
    policy = azure.siterecovery.ReplicationPolicy("policy",
        name="policy",
        resource_group_name=example.name,
        recovery_vault_name=vault.name,
        recovery_point_retention_in_minutes=24 * 60,
        application_consistent_snapshot_frequency_in_minutes=4 * 60)
    
    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-azure/sdk/v5/go/azure/siterecovery"
    	"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{
    			Name:     pulumi.String("tfex-network-mapping-secondary"),
    			Location: pulumi.String("East US"),
    		})
    		if err != nil {
    			return err
    		}
    		vault, err := recoveryservices.NewVault(ctx, "vault", &recoveryservices.VaultArgs{
    			Name:              pulumi.String("example-recovery-vault"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			Sku:               pulumi.String("Standard"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = siterecovery.NewReplicationPolicy(ctx, "policy", &siterecovery.ReplicationPolicyArgs{
    			Name:                            pulumi.String("policy"),
    			ResourceGroupName:               example.Name,
    			RecoveryVaultName:               vault.Name,
    			RecoveryPointRetentionInMinutes: 24 * 60,
    			ApplicationConsistentSnapshotFrequencyInMinutes: 4 * 60,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "tfex-network-mapping-secondary",
            Location = "East US",
        });
    
        var vault = new Azure.RecoveryServices.Vault("vault", new()
        {
            Name = "example-recovery-vault",
            Location = example.Location,
            ResourceGroupName = example.Name,
            Sku = "Standard",
        });
    
        var policy = new Azure.SiteRecovery.ReplicationPolicy("policy", new()
        {
            Name = "policy",
            ResourceGroupName = example.Name,
            RecoveryVaultName = vault.Name,
            RecoveryPointRetentionInMinutes = 24 * 60,
            ApplicationConsistentSnapshotFrequencyInMinutes = 4 * 60,
        });
    
    });
    
    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 com.pulumi.azure.siterecovery.ReplicationPolicy;
    import com.pulumi.azure.siterecovery.ReplicationPolicyArgs;
    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()        
                .name("tfex-network-mapping-secondary")
                .location("East US")
                .build());
    
            var vault = new Vault("vault", VaultArgs.builder()        
                .name("example-recovery-vault")
                .location(example.location())
                .resourceGroupName(example.name())
                .sku("Standard")
                .build());
    
            var policy = new ReplicationPolicy("policy", ReplicationPolicyArgs.builder()        
                .name("policy")
                .resourceGroupName(example.name())
                .recoveryVaultName(vault.name())
                .recoveryPointRetentionInMinutes(24 * 60)
                .applicationConsistentSnapshotFrequencyInMinutes(4 * 60)
                .build());
    
        }
    }
    
    Coming soon!```
    </pulumi-choosable>
    </div>
    
    
    
    ## Create ReplicationPolicy Resource {#create}
    <div>
    <pulumi-chooser type="language" options="typescript,python,go,csharp,java,yaml"></pulumi-chooser>
    </div>
    
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    <div class="highlight"><pre class="chroma"><code class="language-typescript" data-lang="typescript"><span class="k">new </span><span class="nx">ReplicationPolicy</span><span class="p">(</span><span class="nx">name</span><span class="p">:</span> <span class="nx">string</span><span class="p">,</span> <span class="nx">args</span><span class="p">:</span> <span class="nx"><a href="#inputs">ReplicationPolicyArgs</a></span><span class="p">,</span> <span class="nx">opts</span><span class="p">?:</span> <span class="nx"><a href="/docs/reference/pkg/nodejs/pulumi/pulumi/#CustomResourceOptions">CustomResourceOptions</a></span><span class="p">);</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    <div class="highlight"><pre class="chroma"><code class="language-python" data-lang="python"><span class=nd>@overload</span>
    <span class="k">def </span><span class="nx">ReplicationPolicy</span><span class="p">(</span><span class="nx">resource_name</span><span class="p">:</span> <span class="nx">str</span><span class="p">,</span>
                          <span class="nx">opts</span><span class="p">:</span> <span class="nx"><a href="/docs/reference/pkg/python/pulumi/#pulumi.ResourceOptions">Optional[ResourceOptions]</a></span> = None<span class="p">,</span>
                          <span class="nx">application_consistent_snapshot_frequency_in_minutes</span><span class="p">:</span> <span class="nx">Optional[int]</span> = None<span class="p">,</span>
                          <span class="nx">name</span><span class="p">:</span> <span class="nx">Optional[str]</span> = None<span class="p">,</span>
                          <span class="nx">recovery_point_retention_in_minutes</span><span class="p">:</span> <span class="nx">Optional[int]</span> = None<span class="p">,</span>
                          <span class="nx">recovery_vault_name</span><span class="p">:</span> <span class="nx">Optional[str]</span> = None<span class="p">,</span>
                          <span class="nx">resource_group_name</span><span class="p">:</span> <span class="nx">Optional[str]</span> = None<span class="p">)</span>
    <span class=nd>@overload</span>
    <span class="k">def </span><span class="nx">ReplicationPolicy</span><span class="p">(</span><span class="nx">resource_name</span><span class="p">:</span> <span class="nx">str</span><span class="p">,</span>
                          <span class="nx">args</span><span class="p">:</span> <span class="nx"><a href="#inputs">ReplicationPolicyArgs</a></span><span class="p">,</span>
                          <span class="nx">opts</span><span class="p">:</span> <span class="nx"><a href="/docs/reference/pkg/python/pulumi/#pulumi.ResourceOptions">Optional[ResourceOptions]</a></span> = None<span class="p">)</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    <div class="highlight"><pre class="chroma"><code class="language-go" data-lang="go"><span class="k">func </span><span class="nx">NewReplicationPolicy</span><span class="p">(</span><span class="nx">ctx</span><span class="p"> *</span><span class="nx"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#Context">Context</a></span><span class="p">,</span> <span class="nx">name</span><span class="p"> </span><span class="nx">string</span><span class="p">,</span> <span class="nx">args</span><span class="p"> </span><span class="nx"><a href="#inputs">ReplicationPolicyArgs</a></span><span class="p">,</span> <span class="nx">opts</span><span class="p"> ...</span><span class="nx"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#ResourceOption">ResourceOption</a></span><span class="p">) (*<span class="nx">ReplicationPolicy</span>, error)</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    <div class="highlight"><pre class="chroma"><code class="language-csharp" data-lang="csharp"><span class="k">public </span><span class="nx">ReplicationPolicy</span><span class="p">(</span><span class="nx">string</span><span class="p"> </span><span class="nx">name<span class="p">,</span> <span class="nx"><a href="#inputs">ReplicationPolicyArgs</a></span><span class="p"> </span><span class="nx">args<span class="p">,</span> <span class="nx"><a href="/docs/reference/pkg/dotnet/Pulumi/Pulumi.CustomResourceOptions.html">CustomResourceOptions</a></span><span class="p">? </span><span class="nx">opts = null<span class="p">)</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    <div class="highlight"><pre class="chroma">
    <code class="language-java" data-lang="java"><span class="k">public </span><span class="nx">ReplicationPolicy</span><span class="p">(</span><span class="nx">String</span><span class="p"> </span><span class="nx">name<span class="p">,</span> <span class="nx"><a href="#inputs">ReplicationPolicyArgs</a></span><span class="p"> </span><span class="nx">args<span class="p">)</span>
    <span class="k">public </span><span class="nx">ReplicationPolicy</span><span class="p">(</span><span class="nx">String</span><span class="p"> </span><span class="nx">name<span class="p">,</span> <span class="nx"><a href="#inputs">ReplicationPolicyArgs</a></span><span class="p"> </span><span class="nx">args<span class="p">,</span> <span class="nx">CustomResourceOptions</span><span class="p"> </span><span class="nx">options<span class="p">)</span>
    </code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="yaml">
    <div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">type: <span class="nx">azure:siterecovery:ReplicationPolicy</span><span class="p"></span>
    <span class="p">properties</span><span class="p">: </span><span class="c">#&nbsp;The arguments to resource properties.</span>
    <span class="p"></span><span class="p">options</span><span class="p">: </span><span class="c">#&nbsp;Bag of options to control resource&#39;s behavior.</span>
    <span class="p"></span>
    </code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    
    <dl class="resources-properties"><dt
            class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The unique name of the resource.</dd><dt
            class="property-required" title="Required">
            <span>args</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#inputs">ReplicationPolicyArgs</a></span>
        </dt>
        <dd>The arguments to resource properties.</dd><dt
            class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="/docs/reference/pkg/nodejs/pulumi/pulumi/#CustomResourceOptions">CustomResourceOptions</a></span>
        </dt>
        <dd>Bag of options to control resource&#39;s behavior.</dd></dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    
    <dl class="resources-properties"><dt
            class="property-required" title="Required">
            <span>resource_name</span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>The unique name of the resource.</dd><dt
            class="property-required" title="Required">
            <span>args</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#inputs">ReplicationPolicyArgs</a></span>
        </dt>
        <dd>The arguments to resource properties.</dd><dt
            class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="/docs/reference/pkg/python/pulumi/#pulumi.ResourceOptions">ResourceOptions</a></span>
        </dt>
        <dd>Bag of options to control resource&#39;s behavior.</dd></dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    
    <dl class="resources-properties"><dt
            class="property-optional" title="Optional">
            <span>ctx</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#Context">Context</a></span>
        </dt>
        <dd>Context object for the current deployment.</dd><dt
            class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The unique name of the resource.</dd><dt
            class="property-required" title="Required">
            <span>args</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#inputs">ReplicationPolicyArgs</a></span>
        </dt>
        <dd>The arguments to resource properties.</dd><dt
            class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#ResourceOption">ResourceOption</a></span>
        </dt>
        <dd>Bag of options to control resource&#39;s behavior.</dd></dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    
    <dl class="resources-properties"><dt
            class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The unique name of the resource.</dd><dt
            class="property-required" title="Required">
            <span>args</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#inputs">ReplicationPolicyArgs</a></span>
        </dt>
        <dd>The arguments to resource properties.</dd><dt
            class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="/docs/reference/pkg/dotnet/Pulumi/Pulumi.CustomResourceOptions.html">CustomResourceOptions</a></span>
        </dt>
        <dd>Bag of options to control resource&#39;s behavior.</dd></dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    
    <dl class="resources-properties"><dt
            class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The unique name of the resource.</dd><dt
            class="property-required" title="Required">
            <span>args</span>
            <span class="property-indicator"></span>
            <span class="property-type"><a href="#inputs">ReplicationPolicyArgs</a></span>
        </dt>
        <dd>The arguments to resource properties.</dd><dt
            class="property-optional" title="Optional">
            <span>options</span>
            <span class="property-indicator"></span>
            <span class="property-type">CustomResourceOptions</span>
        </dt>
        <dd>Bag of options to control resource&#39;s behavior.</dd></dl>
    
    </pulumi-choosable>
    </div>
    
    ## ReplicationPolicy Resource Properties {#properties}
    
    To learn more about resource properties and how to use them, see [Inputs and Outputs](/docs/intro/concepts/inputs-outputs) in the Architecture and Concepts docs.
    
    ### Inputs
    
    The ReplicationPolicy resource accepts the following [input](/docs/intro/concepts/inputs-outputs) properties:
    
    
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    <dl class="resources-properties"><dt class="property-required"
                title="Required">
            <span id="applicationconsistentsnapshotfrequencyinminutes_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#applicationconsistentsnapshotfrequencyinminutes_csharp" style="color: inherit; text-decoration: inherit;">Application<wbr>Consistent<wbr>Snapshot<wbr>Frequency<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd><p>Specifies the frequency(in minutes) at which to create application consistent recovery points.</p>
    <blockquote>
    <p><strong>Note:</strong> The value of <code>application_consistent_snapshot_frequency_in_minutes</code> must be less than or equal to the value of <code>recovery_point_retention_in_minutes</code>.</p>
    </blockquote>
    </dd><dt class="property-required"
                title="Required">
            <span id="recoverypointretentioninminutes_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#recoverypointretentioninminutes_csharp" style="color: inherit; text-decoration: inherit;">Recovery<wbr>Point<wbr>Retention<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd>The duration in minutes for which the recovery points need to be stored.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="recoveryvaultname_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#recoveryvaultname_csharp" style="color: inherit; text-decoration: inherit;">Recovery<wbr>Vault<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the vault that should be updated. Changing this forces a new resource to be created.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="resourcegroupname_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#resourcegroupname_csharp" style="color: inherit; text-decoration: inherit;">Resource<wbr>Group<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="name_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#name_csharp" style="color: inherit; text-decoration: inherit;">Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the replication policy. Changing this forces a new resource to be created.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    <dl class="resources-properties"><dt class="property-required"
                title="Required">
            <span id="applicationconsistentsnapshotfrequencyinminutes_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#applicationconsistentsnapshotfrequencyinminutes_go" style="color: inherit; text-decoration: inherit;">Application<wbr>Consistent<wbr>Snapshot<wbr>Frequency<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd><p>Specifies the frequency(in minutes) at which to create application consistent recovery points.</p>
    <blockquote>
    <p><strong>Note:</strong> The value of <code>application_consistent_snapshot_frequency_in_minutes</code> must be less than or equal to the value of <code>recovery_point_retention_in_minutes</code>.</p>
    </blockquote>
    </dd><dt class="property-required"
                title="Required">
            <span id="recoverypointretentioninminutes_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#recoverypointretentioninminutes_go" style="color: inherit; text-decoration: inherit;">Recovery<wbr>Point<wbr>Retention<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd>The duration in minutes for which the recovery points need to be stored.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="recoveryvaultname_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#recoveryvaultname_go" style="color: inherit; text-decoration: inherit;">Recovery<wbr>Vault<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the vault that should be updated. Changing this forces a new resource to be created.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="resourcegroupname_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#resourcegroupname_go" style="color: inherit; text-decoration: inherit;">Resource<wbr>Group<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="name_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#name_go" style="color: inherit; text-decoration: inherit;">Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the replication policy. Changing this forces a new resource to be created.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    <dl class="resources-properties"><dt class="property-required"
                title="Required">
            <span id="applicationconsistentsnapshotfrequencyinminutes_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#applicationconsistentsnapshotfrequencyinminutes_java" style="color: inherit; text-decoration: inherit;">application<wbr>Consistent<wbr>Snapshot<wbr>Frequency<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Integer</span>
        </dt>
        <dd><p>Specifies the frequency(in minutes) at which to create application consistent recovery points.</p>
    <blockquote>
    <p><strong>Note:</strong> The value of <code>application_consistent_snapshot_frequency_in_minutes</code> must be less than or equal to the value of <code>recovery_point_retention_in_minutes</code>.</p>
    </blockquote>
    </dd><dt class="property-required"
                title="Required">
            <span id="recoverypointretentioninminutes_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#recoverypointretentioninminutes_java" style="color: inherit; text-decoration: inherit;">recovery<wbr>Point<wbr>Retention<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Integer</span>
        </dt>
        <dd>The duration in minutes for which the recovery points need to be stored.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="recoveryvaultname_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#recoveryvaultname_java" style="color: inherit; text-decoration: inherit;">recovery<wbr>Vault<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The name of the vault that should be updated. Changing this forces a new resource to be created.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="resourcegroupname_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#resourcegroupname_java" style="color: inherit; text-decoration: inherit;">resource<wbr>Group<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="name_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#name_java" style="color: inherit; text-decoration: inherit;">name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The name of the replication policy. Changing this forces a new resource to be created.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    <dl class="resources-properties"><dt class="property-required"
                title="Required">
            <span id="applicationconsistentsnapshotfrequencyinminutes_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#applicationconsistentsnapshotfrequencyinminutes_nodejs" style="color: inherit; text-decoration: inherit;">application<wbr>Consistent<wbr>Snapshot<wbr>Frequency<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">number</span>
        </dt>
        <dd><p>Specifies the frequency(in minutes) at which to create application consistent recovery points.</p>
    <blockquote>
    <p><strong>Note:</strong> The value of <code>application_consistent_snapshot_frequency_in_minutes</code> must be less than or equal to the value of <code>recovery_point_retention_in_minutes</code>.</p>
    </blockquote>
    </dd><dt class="property-required"
                title="Required">
            <span id="recoverypointretentioninminutes_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#recoverypointretentioninminutes_nodejs" style="color: inherit; text-decoration: inherit;">recovery<wbr>Point<wbr>Retention<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">number</span>
        </dt>
        <dd>The duration in minutes for which the recovery points need to be stored.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="recoveryvaultname_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#recoveryvaultname_nodejs" style="color: inherit; text-decoration: inherit;">recovery<wbr>Vault<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the vault that should be updated. Changing this forces a new resource to be created.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="resourcegroupname_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#resourcegroupname_nodejs" style="color: inherit; text-decoration: inherit;">resource<wbr>Group<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="name_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#name_nodejs" style="color: inherit; text-decoration: inherit;">name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the replication policy. Changing this forces a new resource to be created.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    <dl class="resources-properties"><dt class="property-required"
                title="Required">
            <span id="application_consistent_snapshot_frequency_in_minutes_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#application_consistent_snapshot_frequency_in_minutes_python" style="color: inherit; text-decoration: inherit;">application_<wbr>consistent_<wbr>snapshot_<wbr>frequency_<wbr>in_<wbr>minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd><p>Specifies the frequency(in minutes) at which to create application consistent recovery points.</p>
    <blockquote>
    <p><strong>Note:</strong> The value of <code>application_consistent_snapshot_frequency_in_minutes</code> must be less than or equal to the value of <code>recovery_point_retention_in_minutes</code>.</p>
    </blockquote>
    </dd><dt class="property-required"
                title="Required">
            <span id="recovery_point_retention_in_minutes_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#recovery_point_retention_in_minutes_python" style="color: inherit; text-decoration: inherit;">recovery_<wbr>point_<wbr>retention_<wbr>in_<wbr>minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd>The duration in minutes for which the recovery points need to be stored.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="recovery_vault_name_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#recovery_vault_name_python" style="color: inherit; text-decoration: inherit;">recovery_<wbr>vault_<wbr>name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>The name of the vault that should be updated. Changing this forces a new resource to be created.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="resource_group_name_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#resource_group_name_python" style="color: inherit; text-decoration: inherit;">resource_<wbr>group_<wbr>name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="name_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#name_python" style="color: inherit; text-decoration: inherit;">name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>The name of the replication policy. Changing this forces a new resource to be created.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="yaml">
    <dl class="resources-properties"><dt class="property-required"
                title="Required">
            <span id="applicationconsistentsnapshotfrequencyinminutes_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#applicationconsistentsnapshotfrequencyinminutes_yaml" style="color: inherit; text-decoration: inherit;">application<wbr>Consistent<wbr>Snapshot<wbr>Frequency<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Number</span>
        </dt>
        <dd><p>Specifies the frequency(in minutes) at which to create application consistent recovery points.</p>
    <blockquote>
    <p><strong>Note:</strong> The value of <code>application_consistent_snapshot_frequency_in_minutes</code> must be less than or equal to the value of <code>recovery_point_retention_in_minutes</code>.</p>
    </blockquote>
    </dd><dt class="property-required"
                title="Required">
            <span id="recoverypointretentioninminutes_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#recoverypointretentioninminutes_yaml" style="color: inherit; text-decoration: inherit;">recovery<wbr>Point<wbr>Retention<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Number</span>
        </dt>
        <dd>The duration in minutes for which the recovery points need to be stored.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="recoveryvaultname_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#recoveryvaultname_yaml" style="color: inherit; text-decoration: inherit;">recovery<wbr>Vault<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The name of the vault that should be updated. Changing this forces a new resource to be created.</dd><dt class="property-required property-replacement"
                title="Required">
            <span id="resourcegroupname_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#resourcegroupname_yaml" style="color: inherit; text-decoration: inherit;">resource<wbr>Group<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="name_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#name_yaml" style="color: inherit; text-decoration: inherit;">name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The name of the replication policy. Changing this forces a new resource to be created.</dd></dl>
    </pulumi-choosable>
    </div>
    
    
    ### Outputs
    
    All [input](#inputs) properties are implicitly available as output properties. Additionally, the ReplicationPolicy resource produces the following output properties:
    
    
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    <dl class="resources-properties"><dt class="property-"
                title="">
            <span id="id_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_csharp" style="color: inherit; text-decoration: inherit;">Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The provider-assigned unique ID for this managed resource.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    <dl class="resources-properties"><dt class="property-"
                title="">
            <span id="id_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_go" style="color: inherit; text-decoration: inherit;">Id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The provider-assigned unique ID for this managed resource.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    <dl class="resources-properties"><dt class="property-"
                title="">
            <span id="id_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_java" style="color: inherit; text-decoration: inherit;">id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The provider-assigned unique ID for this managed resource.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    <dl class="resources-properties"><dt class="property-"
                title="">
            <span id="id_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_nodejs" style="color: inherit; text-decoration: inherit;">id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The provider-assigned unique ID for this managed resource.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    <dl class="resources-properties"><dt class="property-"
                title="">
            <span id="id_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_python" style="color: inherit; text-decoration: inherit;">id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>The provider-assigned unique ID for this managed resource.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="yaml">
    <dl class="resources-properties"><dt class="property-"
                title="">
            <span id="id_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_yaml" style="color: inherit; text-decoration: inherit;">id</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The provider-assigned unique ID for this managed resource.</dd></dl>
    </pulumi-choosable>
    </div>
    
    
    
    ## Look up Existing ReplicationPolicy Resource {#look-up}
    
    Get an existing ReplicationPolicy resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
    <div>
    <pulumi-chooser type="language" options="typescript,python,go,csharp,java,yaml"></pulumi-chooser>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    <div class="highlight"><pre class="chroma"><code class="language-typescript" data-lang="typescript"><span class="k">public static </span><span class="nf">get</span><span class="p">(</span><span class="nx">name</span><span class="p">:</span> <span class="nx">string</span><span class="p">,</span> <span class="nx">id</span><span class="p">:</span> <span class="nx"><a href="/docs/reference/pkg/nodejs/pulumi/pulumi/#ID">Input&lt;ID&gt;</a></span><span class="p">,</span> <span class="nx">state</span><span class="p">?:</span> <span class="nx">ReplicationPolicyState</span><span class="p">,</span> <span class="nx">opts</span><span class="p">?:</span> <span class="nx"><a href="/docs/reference/pkg/nodejs/pulumi/pulumi/#CustomResourceOptions">CustomResourceOptions</a></span><span class="p">): </span><span class="nx">ReplicationPolicy</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    <div class="highlight"><pre class="chroma"><code class="language-python" data-lang="python"><span class=nd>@staticmethod</span>
    <span class="k">def </span><span class="nf">get</span><span class="p">(</span><span class="nx">resource_name</span><span class="p">:</span> <span class="nx">str</span><span class="p">,</span>
            <span class="nx">id</span><span class="p">:</span> <span class="nx">str</span><span class="p">,</span>
            <span class="nx">opts</span><span class="p">:</span> <span class="nx"><a href="/docs/reference/pkg/python/pulumi/#pulumi.ResourceOptions">Optional[ResourceOptions]</a></span> = None<span class="p">,</span>
            <span class="nx">application_consistent_snapshot_frequency_in_minutes</span><span class="p">:</span> <span class="nx">Optional[int]</span> = None<span class="p">,</span>
            <span class="nx">name</span><span class="p">:</span> <span class="nx">Optional[str]</span> = None<span class="p">,</span>
            <span class="nx">recovery_point_retention_in_minutes</span><span class="p">:</span> <span class="nx">Optional[int]</span> = None<span class="p">,</span>
            <span class="nx">recovery_vault_name</span><span class="p">:</span> <span class="nx">Optional[str]</span> = None<span class="p">,</span>
            <span class="nx">resource_group_name</span><span class="p">:</span> <span class="nx">Optional[str]</span> = None<span class="p">) -&gt;</span> ReplicationPolicy</code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    <div class="highlight"><pre class="chroma"><code class="language-go" data-lang="go"><span class="k">func </span>GetReplicationPolicy<span class="p">(</span><span class="nx">ctx</span><span class="p"> *</span><span class="nx"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#Context">Context</a></span><span class="p">,</span> <span class="nx">name</span><span class="p"> </span><span class="nx">string</span><span class="p">,</span> <span class="nx">id</span><span class="p"> </span><span class="nx"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#IDInput">IDInput</a></span><span class="p">,</span> <span class="nx">state</span><span class="p"> *</span><span class="nx">ReplicationPolicyState</span><span class="p">,</span> <span class="nx">opts</span><span class="p"> ...</span><span class="nx"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#ResourceOption">ResourceOption</a></span><span class="p">) (*<span class="nx">ReplicationPolicy</span>, error)</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    <div class="highlight"><pre class="chroma"><code class="language-csharp" data-lang="csharp"><span class="k">public static </span><span class="nx">ReplicationPolicy</span><span class="nf"> Get</span><span class="p">(</span><span class="nx">string</span><span class="p"> </span><span class="nx">name<span class="p">,</span> <span class="nx"><a href="/docs/reference/pkg/dotnet/Pulumi/Pulumi.Input-1.html">Input&lt;string&gt;</a></span><span class="p"> </span><span class="nx">id<span class="p">,</span> <span class="nx">ReplicationPolicyState</span><span class="p">? </span><span class="nx">state<span class="p">,</span> <span class="nx"><a href="/docs/reference/pkg/dotnet/Pulumi/Pulumi.CustomResourceOptions.html">CustomResourceOptions</a></span><span class="p">? </span><span class="nx">opts = null<span class="p">)</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    <div class="highlight"><pre class="chroma"><code class="language-java" data-lang="java"><span class="k">public static </span><span class="nx">ReplicationPolicy</span><span class="nf"> get</span><span class="p">(</span><span class="nx">String</span><span class="p"> </span><span class="nx">name<span class="p">,</span> <span class="nx">Output&lt;String&gt;</span><span class="p"> </span><span class="nx">id<span class="p">,</span> <span class="nx">ReplicationPolicyState</span><span class="p"> </span><span class="nx">state<span class="p">,</span> <span class="nx">CustomResourceOptions</span><span class="p"> </span><span class="nx">options<span class="p">)</span></code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="yaml">
    <div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">Resource lookup is not supported in YAML</code></pre></div>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    
    <dl class="resources-properties">
        <dt class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The unique name of the resulting resource.</dd>
        <dt class="property-required" title="Required">
            <span>id</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The <em>unique</em> provider ID of the resource to lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>state</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>Any extra arguments used during the lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>A bag of options that control this resource's behavior.</dd>
    </dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    <dl class="resources-properties">
        <dt class="property-required" title="Required">
            <span>resource_name</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The unique name of the resulting resource.</dd>
        <dt class="property-required" title="Optional">
            <span>id</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The <em>unique</em> provider ID of the resource to lookup.</dd>
    </dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    
    <dl class="resources-properties">
        <dt class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The unique name of the resulting resource.</dd>
        <dt class="property-required" title="Required">
            <span>id</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The <em>unique</em> provider ID of the resource to lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>state</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>Any extra arguments used during the lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>A bag of options that control this resource's behavior.</dd>
    </dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    
    <dl class="resources-properties">
        <dt class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The unique name of the resulting resource.</dd>
        <dt class="property-required" title="Required">
            <span>id</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The <em>unique</em> provider ID of the resource to lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>state</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>Any extra arguments used during the lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>A bag of options that control this resource's behavior.</dd>
    </dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    
    <dl class="resources-properties">
        <dt class="property-required" title="Required">
            <span>name</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The unique name of the resulting resource.</dd>
        <dt class="property-required" title="Required">
            <span>id</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>The <em>unique</em> provider ID of the resource to lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>state</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>Any extra arguments used during the lookup.</dd>
        <dt class="property-optional" title="Optional">
            <span>opts</span>
            <span class="property-indicator"></span>
        </dt>
        <dd>A bag of options that control this resource's behavior.</dd>
    </dl>
    
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="typescript,javascript,python,go,csharp,java">
    The following state arguments are supported:
    
    
    <div>
    <pulumi-choosable type="language" values="csharp">
    <dl class="resources-properties"><dt class="property-optional"
                title="Optional">
            <span id="state_applicationconsistentsnapshotfrequencyinminutes_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_applicationconsistentsnapshotfrequencyinminutes_csharp" style="color: inherit; text-decoration: inherit;">Application<wbr>Consistent<wbr>Snapshot<wbr>Frequency<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd><p>Specifies the frequency(in minutes) at which to create application consistent recovery points.</p>
    <blockquote>
    <p><strong>Note:</strong> The value of <code>application_consistent_snapshot_frequency_in_minutes</code> must be less than or equal to the value of <code>recovery_point_retention_in_minutes</code>.</p>
    </blockquote>
    </dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_name_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_name_csharp" style="color: inherit; text-decoration: inherit;">Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the replication policy. Changing this forces a new resource to be created.</dd><dt class="property-optional"
                title="Optional">
            <span id="state_recoverypointretentioninminutes_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_recoverypointretentioninminutes_csharp" style="color: inherit; text-decoration: inherit;">Recovery<wbr>Point<wbr>Retention<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd>The duration in minutes for which the recovery points need to be stored.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_recoveryvaultname_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_recoveryvaultname_csharp" style="color: inherit; text-decoration: inherit;">Recovery<wbr>Vault<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the vault that should be updated. Changing this forces a new resource to be created.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_resourcegroupname_csharp">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_resourcegroupname_csharp" style="color: inherit; text-decoration: inherit;">Resource<wbr>Group<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="go">
    <dl class="resources-properties"><dt class="property-optional"
                title="Optional">
            <span id="state_applicationconsistentsnapshotfrequencyinminutes_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_applicationconsistentsnapshotfrequencyinminutes_go" style="color: inherit; text-decoration: inherit;">Application<wbr>Consistent<wbr>Snapshot<wbr>Frequency<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd><p>Specifies the frequency(in minutes) at which to create application consistent recovery points.</p>
    <blockquote>
    <p><strong>Note:</strong> The value of <code>application_consistent_snapshot_frequency_in_minutes</code> must be less than or equal to the value of <code>recovery_point_retention_in_minutes</code>.</p>
    </blockquote>
    </dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_name_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_name_go" style="color: inherit; text-decoration: inherit;">Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the replication policy. Changing this forces a new resource to be created.</dd><dt class="property-optional"
                title="Optional">
            <span id="state_recoverypointretentioninminutes_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_recoverypointretentioninminutes_go" style="color: inherit; text-decoration: inherit;">Recovery<wbr>Point<wbr>Retention<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd>The duration in minutes for which the recovery points need to be stored.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_recoveryvaultname_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_recoveryvaultname_go" style="color: inherit; text-decoration: inherit;">Recovery<wbr>Vault<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the vault that should be updated. Changing this forces a new resource to be created.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_resourcegroupname_go">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_resourcegroupname_go" style="color: inherit; text-decoration: inherit;">Resource<wbr>Group<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="java">
    <dl class="resources-properties"><dt class="property-optional"
                title="Optional">
            <span id="state_applicationconsistentsnapshotfrequencyinminutes_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_applicationconsistentsnapshotfrequencyinminutes_java" style="color: inherit; text-decoration: inherit;">application<wbr>Consistent<wbr>Snapshot<wbr>Frequency<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Integer</span>
        </dt>
        <dd><p>Specifies the frequency(in minutes) at which to create application consistent recovery points.</p>
    <blockquote>
    <p><strong>Note:</strong> The value of <code>application_consistent_snapshot_frequency_in_minutes</code> must be less than or equal to the value of <code>recovery_point_retention_in_minutes</code>.</p>
    </blockquote>
    </dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_name_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_name_java" style="color: inherit; text-decoration: inherit;">name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The name of the replication policy. Changing this forces a new resource to be created.</dd><dt class="property-optional"
                title="Optional">
            <span id="state_recoverypointretentioninminutes_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_recoverypointretentioninminutes_java" style="color: inherit; text-decoration: inherit;">recovery<wbr>Point<wbr>Retention<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Integer</span>
        </dt>
        <dd>The duration in minutes for which the recovery points need to be stored.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_recoveryvaultname_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_recoveryvaultname_java" style="color: inherit; text-decoration: inherit;">recovery<wbr>Vault<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The name of the vault that should be updated. Changing this forces a new resource to be created.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_resourcegroupname_java">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_resourcegroupname_java" style="color: inherit; text-decoration: inherit;">resource<wbr>Group<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    <dl class="resources-properties"><dt class="property-optional"
                title="Optional">
            <span id="state_applicationconsistentsnapshotfrequencyinminutes_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_applicationconsistentsnapshotfrequencyinminutes_nodejs" style="color: inherit; text-decoration: inherit;">application<wbr>Consistent<wbr>Snapshot<wbr>Frequency<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">number</span>
        </dt>
        <dd><p>Specifies the frequency(in minutes) at which to create application consistent recovery points.</p>
    <blockquote>
    <p><strong>Note:</strong> The value of <code>application_consistent_snapshot_frequency_in_minutes</code> must be less than or equal to the value of <code>recovery_point_retention_in_minutes</code>.</p>
    </blockquote>
    </dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_name_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_name_nodejs" style="color: inherit; text-decoration: inherit;">name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the replication policy. Changing this forces a new resource to be created.</dd><dt class="property-optional"
                title="Optional">
            <span id="state_recoverypointretentioninminutes_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_recoverypointretentioninminutes_nodejs" style="color: inherit; text-decoration: inherit;">recovery<wbr>Point<wbr>Retention<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">number</span>
        </dt>
        <dd>The duration in minutes for which the recovery points need to be stored.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_recoveryvaultname_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_recoveryvaultname_nodejs" style="color: inherit; text-decoration: inherit;">recovery<wbr>Vault<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>The name of the vault that should be updated. Changing this forces a new resource to be created.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_resourcegroupname_nodejs">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_resourcegroupname_nodejs" style="color: inherit; text-decoration: inherit;">resource<wbr>Group<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">string</span>
        </dt>
        <dd>Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="python">
    <dl class="resources-properties"><dt class="property-optional"
                title="Optional">
            <span id="state_application_consistent_snapshot_frequency_in_minutes_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_application_consistent_snapshot_frequency_in_minutes_python" style="color: inherit; text-decoration: inherit;">application_<wbr>consistent_<wbr>snapshot_<wbr>frequency_<wbr>in_<wbr>minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd><p>Specifies the frequency(in minutes) at which to create application consistent recovery points.</p>
    <blockquote>
    <p><strong>Note:</strong> The value of <code>application_consistent_snapshot_frequency_in_minutes</code> must be less than or equal to the value of <code>recovery_point_retention_in_minutes</code>.</p>
    </blockquote>
    </dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_name_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_name_python" style="color: inherit; text-decoration: inherit;">name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>The name of the replication policy. Changing this forces a new resource to be created.</dd><dt class="property-optional"
                title="Optional">
            <span id="state_recovery_point_retention_in_minutes_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_recovery_point_retention_in_minutes_python" style="color: inherit; text-decoration: inherit;">recovery_<wbr>point_<wbr>retention_<wbr>in_<wbr>minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">int</span>
        </dt>
        <dd>The duration in minutes for which the recovery points need to be stored.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_recovery_vault_name_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_recovery_vault_name_python" style="color: inherit; text-decoration: inherit;">recovery_<wbr>vault_<wbr>name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>The name of the vault that should be updated. Changing this forces a new resource to be created.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_resource_group_name_python">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_resource_group_name_python" style="color: inherit; text-decoration: inherit;">resource_<wbr>group_<wbr>name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">str</span>
        </dt>
        <dd>Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.</dd></dl>
    </pulumi-choosable>
    </div>
    
    <div>
    <pulumi-choosable type="language" values="yaml">
    <dl class="resources-properties"><dt class="property-optional"
                title="Optional">
            <span id="state_applicationconsistentsnapshotfrequencyinminutes_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_applicationconsistentsnapshotfrequencyinminutes_yaml" style="color: inherit; text-decoration: inherit;">application<wbr>Consistent<wbr>Snapshot<wbr>Frequency<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Number</span>
        </dt>
        <dd><p>Specifies the frequency(in minutes) at which to create application consistent recovery points.</p>
    <blockquote>
    <p><strong>Note:</strong> The value of <code>application_consistent_snapshot_frequency_in_minutes</code> must be less than or equal to the value of <code>recovery_point_retention_in_minutes</code>.</p>
    </blockquote>
    </dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_name_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_name_yaml" style="color: inherit; text-decoration: inherit;">name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The name of the replication policy. Changing this forces a new resource to be created.</dd><dt class="property-optional"
                title="Optional">
            <span id="state_recoverypointretentioninminutes_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_recoverypointretentioninminutes_yaml" style="color: inherit; text-decoration: inherit;">recovery<wbr>Point<wbr>Retention<wbr>In<wbr>Minutes</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">Number</span>
        </dt>
        <dd>The duration in minutes for which the recovery points need to be stored.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_recoveryvaultname_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_recoveryvaultname_yaml" style="color: inherit; text-decoration: inherit;">recovery<wbr>Vault<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>The name of the vault that should be updated. Changing this forces a new resource to be created.</dd><dt class="property-optional property-replacement"
                title="Optional">
            <span id="state_resourcegroupname_yaml">
    <a data-swiftype-name="resource-property" data-swiftype-type="text" href="#state_resourcegroupname_yaml" style="color: inherit; text-decoration: inherit;">resource<wbr>Group<wbr>Name</a>
    </span>
            <span class="property-indicator"></span>
            <span class="property-type">String</span>
        </dt>
        <dd>Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.</dd></dl>
    </pulumi-choosable>
    </div>
    </pulumi-choosable>
    </div>
    
    
    
    
    
    
    ## Import
    
    
    
    Site Recovery Replication Policies can be imported using the `resource id`, e.g.
    
    ```sh
    $ pulumi import azure:siterecovery/replicationPolicy:ReplicationPolicy mypolicy /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-group-name/providers/Microsoft.RecoveryServices/vaults/recovery-vault-name/replicationPolicies/policy-name
    

    Package Details

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

    We recommend using Azure Native.

    Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi