1. Packages
  2. Azure Native v2
  3. API Docs
  4. datareplication
  5. Policy
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.datareplication.Policy

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Policy model. Azure REST API version: 2021-02-16-preview.

Example Usage

Policy_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var policy = new AzureNative.DataReplication.Policy("policy", new()
    {
        PolicyName = "fafqwc",
        Properties = new AzureNative.DataReplication.Inputs.PolicyModelPropertiesArgs
        {
            CustomProperties = 
            {
                { "instanceType", "PolicyModelCustomProperties" },
            },
        },
        ResourceGroupName = "rgrecoveryservicesdatareplication",
        VaultName = "4",
    });

});
Copy
package main

import (
	datareplication "github.com/pulumi/pulumi-azure-native-sdk/datareplication/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datareplication.NewPolicy(ctx, "policy", &datareplication.PolicyArgs{
			PolicyName: pulumi.String("fafqwc"),
			Properties: &datareplication.PolicyModelPropertiesArgs{
				CustomProperties: pulumi.Any{
					InstanceType: pulumi.String("PolicyModelCustomProperties"),
				},
			},
			ResourceGroupName: pulumi.String("rgrecoveryservicesdatareplication"),
			VaultName:         pulumi.String("4"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datareplication.Policy;
import com.pulumi.azurenative.datareplication.PolicyArgs;
import com.pulumi.azurenative.datareplication.inputs.PolicyModelPropertiesArgs;
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 policy = new Policy("policy", PolicyArgs.builder()
            .policyName("fafqwc")
            .properties(PolicyModelPropertiesArgs.builder()
                .customProperties(HyperVToAzStackHCIPolicyModelCustomPropertiesArgs.builder()
                    .instanceType("PolicyModelCustomProperties")
                    .build())
                .build())
            .resourceGroupName("rgrecoveryservicesdatareplication")
            .vaultName("4")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const policy = new azure_native.datareplication.Policy("policy", {
    policyName: "fafqwc",
    properties: {
        customProperties: {
            instanceType: "PolicyModelCustomProperties",
        },
    },
    resourceGroupName: "rgrecoveryservicesdatareplication",
    vaultName: "4",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

policy = azure_native.datareplication.Policy("policy",
    policy_name="fafqwc",
    properties={
        "custom_properties": {
            "instance_type": "PolicyModelCustomProperties",
        },
    },
    resource_group_name="rgrecoveryservicesdatareplication",
    vault_name="4")
Copy
resources:
  policy:
    type: azure-native:datareplication:Policy
    properties:
      policyName: fafqwc
      properties:
        customProperties:
          instanceType: PolicyModelCustomProperties
      resourceGroupName: rgrecoveryservicesdatareplication
      vaultName: '4'
Copy

Create Policy Resource

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

Constructor syntax

new Policy(name: string, args: PolicyArgs, opts?: CustomResourceOptions);
@overload
def Policy(resource_name: str,
           args: PolicyArgs,
           opts: Optional[ResourceOptions] = None)

@overload
def Policy(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           properties: Optional[PolicyModelPropertiesArgs] = None,
           resource_group_name: Optional[str] = None,
           vault_name: Optional[str] = None,
           policy_name: Optional[str] = None)
func NewPolicy(ctx *Context, name string, args PolicyArgs, opts ...ResourceOption) (*Policy, error)
public Policy(string name, PolicyArgs args, CustomResourceOptions? opts = null)
public Policy(String name, PolicyArgs args)
public Policy(String name, PolicyArgs args, CustomResourceOptions options)
type: azure-native:datareplication:Policy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

Constructor example

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

var examplepolicyResourceResourceFromDatareplication = new AzureNative.Datareplication.Policy("examplepolicyResourceResourceFromDatareplication", new()
{
    Properties = 
    {
        { "customProperties", 
        {
            { "appConsistentFrequencyInMinutes", 0 },
            { "crashConsistentFrequencyInMinutes", 0 },
            { "instanceType", "HyperVToAzStackHCI" },
            { "recoveryPointHistoryInMinutes", 0 },
        } },
    },
    ResourceGroupName = "string",
    VaultName = "string",
    PolicyName = "string",
});
Copy
example, err := datareplication.NewPolicy(ctx, "examplepolicyResourceResourceFromDatareplication", &datareplication.PolicyArgs{
	Properties: map[string]interface{}{
		"customProperties": map[string]interface{}{
			"appConsistentFrequencyInMinutes":   0,
			"crashConsistentFrequencyInMinutes": 0,
			"instanceType":                      "HyperVToAzStackHCI",
			"recoveryPointHistoryInMinutes":     0,
		},
	},
	ResourceGroupName: "string",
	VaultName:         "string",
	PolicyName:        "string",
})
Copy
var examplepolicyResourceResourceFromDatareplication = new Policy("examplepolicyResourceResourceFromDatareplication", PolicyArgs.builder()
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceGroupName("string")
    .vaultName("string")
    .policyName("string")
    .build());
Copy
examplepolicy_resource_resource_from_datareplication = azure_native.datareplication.Policy("examplepolicyResourceResourceFromDatareplication",
    properties={
        customProperties: {
            appConsistentFrequencyInMinutes: 0,
            crashConsistentFrequencyInMinutes: 0,
            instanceType: HyperVToAzStackHCI,
            recoveryPointHistoryInMinutes: 0,
        },
    },
    resource_group_name=string,
    vault_name=string,
    policy_name=string)
Copy
const examplepolicyResourceResourceFromDatareplication = new azure_native.datareplication.Policy("examplepolicyResourceResourceFromDatareplication", {
    properties: {
        customProperties: {
            appConsistentFrequencyInMinutes: 0,
            crashConsistentFrequencyInMinutes: 0,
            instanceType: "HyperVToAzStackHCI",
            recoveryPointHistoryInMinutes: 0,
        },
    },
    resourceGroupName: "string",
    vaultName: "string",
    policyName: "string",
});
Copy
type: azure-native:datareplication:Policy
properties:
    policyName: string
    properties:
        customProperties:
            appConsistentFrequencyInMinutes: 0
            crashConsistentFrequencyInMinutes: 0
            instanceType: HyperVToAzStackHCI
            recoveryPointHistoryInMinutes: 0
    resourceGroupName: string
    vaultName: string
Copy

Policy Resource Properties

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

Inputs

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

The Policy resource accepts the following input properties:

Properties This property is required. Pulumi.AzureNative.DataReplication.Inputs.PolicyModelProperties
Policy model properties.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
VaultName
This property is required.
Changes to this property will trigger replacement.
string
The vault name.
PolicyName Changes to this property will trigger replacement. string
The policy name.
Properties This property is required. PolicyModelPropertiesArgs
Policy model properties.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
VaultName
This property is required.
Changes to this property will trigger replacement.
string
The vault name.
PolicyName Changes to this property will trigger replacement. string
The policy name.
properties This property is required. PolicyModelProperties
Policy model properties.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
vaultName
This property is required.
Changes to this property will trigger replacement.
String
The vault name.
policyName Changes to this property will trigger replacement. String
The policy name.
properties This property is required. PolicyModelProperties
Policy model properties.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
vaultName
This property is required.
Changes to this property will trigger replacement.
string
The vault name.
policyName Changes to this property will trigger replacement. string
The policy name.
properties This property is required. PolicyModelPropertiesArgs
Policy model properties.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
vault_name
This property is required.
Changes to this property will trigger replacement.
str
The vault name.
policy_name Changes to this property will trigger replacement. str
The policy name.
properties This property is required. Property Map
Policy model properties.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
vaultName
This property is required.
Changes to this property will trigger replacement.
String
The vault name.
policyName Changes to this property will trigger replacement. String
The policy name.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Name string
Gets or sets the name of the resource.
SystemData Pulumi.AzureNative.DataReplication.Outputs.PolicyModelResponseSystemData
Type string
Gets or sets the type of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Gets or sets the name of the resource.
SystemData PolicyModelResponseSystemData
Type string
Gets or sets the type of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Gets or sets the name of the resource.
systemData PolicyModelResponseSystemData
type String
Gets or sets the type of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
Gets or sets the name of the resource.
systemData PolicyModelResponseSystemData
type string
Gets or sets the type of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
Gets or sets the name of the resource.
system_data PolicyModelResponseSystemData
type str
Gets or sets the type of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Gets or sets the name of the resource.
systemData Property Map
type String
Gets or sets the type of the resource.

Supporting Types

HyperVToAzStackHCIPolicyModelCustomProperties
, HyperVToAzStackHCIPolicyModelCustomPropertiesArgs

AppConsistentFrequencyInMinutes This property is required. int
Gets or sets the app consistent snapshot frequency (in minutes).
CrashConsistentFrequencyInMinutes This property is required. int
Gets or sets the crash consistent snapshot frequency (in minutes).
RecoveryPointHistoryInMinutes This property is required. int
Gets or sets the duration in minutes until which the recovery points need to be stored.
AppConsistentFrequencyInMinutes This property is required. int
Gets or sets the app consistent snapshot frequency (in minutes).
CrashConsistentFrequencyInMinutes This property is required. int
Gets or sets the crash consistent snapshot frequency (in minutes).
RecoveryPointHistoryInMinutes This property is required. int
Gets or sets the duration in minutes until which the recovery points need to be stored.
appConsistentFrequencyInMinutes This property is required. Integer
Gets or sets the app consistent snapshot frequency (in minutes).
crashConsistentFrequencyInMinutes This property is required. Integer
Gets or sets the crash consistent snapshot frequency (in minutes).
recoveryPointHistoryInMinutes This property is required. Integer
Gets or sets the duration in minutes until which the recovery points need to be stored.
appConsistentFrequencyInMinutes This property is required. number
Gets or sets the app consistent snapshot frequency (in minutes).
crashConsistentFrequencyInMinutes This property is required. number
Gets or sets the crash consistent snapshot frequency (in minutes).
recoveryPointHistoryInMinutes This property is required. number
Gets or sets the duration in minutes until which the recovery points need to be stored.
app_consistent_frequency_in_minutes This property is required. int
Gets or sets the app consistent snapshot frequency (in minutes).
crash_consistent_frequency_in_minutes This property is required. int
Gets or sets the crash consistent snapshot frequency (in minutes).
recovery_point_history_in_minutes This property is required. int
Gets or sets the duration in minutes until which the recovery points need to be stored.
appConsistentFrequencyInMinutes This property is required. Number
Gets or sets the app consistent snapshot frequency (in minutes).
crashConsistentFrequencyInMinutes This property is required. Number
Gets or sets the crash consistent snapshot frequency (in minutes).
recoveryPointHistoryInMinutes This property is required. Number
Gets or sets the duration in minutes until which the recovery points need to be stored.

HyperVToAzStackHCIPolicyModelCustomPropertiesResponse
, HyperVToAzStackHCIPolicyModelCustomPropertiesResponseArgs

AppConsistentFrequencyInMinutes This property is required. int
Gets or sets the app consistent snapshot frequency (in minutes).
CrashConsistentFrequencyInMinutes This property is required. int
Gets or sets the crash consistent snapshot frequency (in minutes).
RecoveryPointHistoryInMinutes This property is required. int
Gets or sets the duration in minutes until which the recovery points need to be stored.
AppConsistentFrequencyInMinutes This property is required. int
Gets or sets the app consistent snapshot frequency (in minutes).
CrashConsistentFrequencyInMinutes This property is required. int
Gets or sets the crash consistent snapshot frequency (in minutes).
RecoveryPointHistoryInMinutes This property is required. int
Gets or sets the duration in minutes until which the recovery points need to be stored.
appConsistentFrequencyInMinutes This property is required. Integer
Gets or sets the app consistent snapshot frequency (in minutes).
crashConsistentFrequencyInMinutes This property is required. Integer
Gets or sets the crash consistent snapshot frequency (in minutes).
recoveryPointHistoryInMinutes This property is required. Integer
Gets or sets the duration in minutes until which the recovery points need to be stored.
appConsistentFrequencyInMinutes This property is required. number
Gets or sets the app consistent snapshot frequency (in minutes).
crashConsistentFrequencyInMinutes This property is required. number
Gets or sets the crash consistent snapshot frequency (in minutes).
recoveryPointHistoryInMinutes This property is required. number
Gets or sets the duration in minutes until which the recovery points need to be stored.
app_consistent_frequency_in_minutes This property is required. int
Gets or sets the app consistent snapshot frequency (in minutes).
crash_consistent_frequency_in_minutes This property is required. int
Gets or sets the crash consistent snapshot frequency (in minutes).
recovery_point_history_in_minutes This property is required. int
Gets or sets the duration in minutes until which the recovery points need to be stored.
appConsistentFrequencyInMinutes This property is required. Number
Gets or sets the app consistent snapshot frequency (in minutes).
crashConsistentFrequencyInMinutes This property is required. Number
Gets or sets the crash consistent snapshot frequency (in minutes).
recoveryPointHistoryInMinutes This property is required. Number
Gets or sets the duration in minutes until which the recovery points need to be stored.

PolicyModelProperties
, PolicyModelPropertiesArgs

customProperties This property is required. Property Map | Property Map
Policy model custom properties.

PolicyModelPropertiesResponse
, PolicyModelPropertiesResponseArgs

CustomProperties This property is required. HyperVToAzStackHCIPolicyModelCustomPropertiesResponse | VMwareToAzStackHCIPolicyModelCustomPropertiesResponse
Policy model custom properties.
ProvisioningState This property is required. string
Gets or sets the provisioning state of the policy.
customProperties This property is required. HyperVToAzStackHCIPolicyModelCustomPropertiesResponse | VMwareToAzStackHCIPolicyModelCustomPropertiesResponse
Policy model custom properties.
provisioningState This property is required. String
Gets or sets the provisioning state of the policy.
customProperties This property is required. HyperVToAzStackHCIPolicyModelCustomPropertiesResponse | VMwareToAzStackHCIPolicyModelCustomPropertiesResponse
Policy model custom properties.
provisioningState This property is required. string
Gets or sets the provisioning state of the policy.
custom_properties This property is required. HyperVToAzStackHCIPolicyModelCustomPropertiesResponse | VMwareToAzStackHCIPolicyModelCustomPropertiesResponse
Policy model custom properties.
provisioning_state This property is required. str
Gets or sets the provisioning state of the policy.
customProperties This property is required. Property Map | Property Map
Policy model custom properties.
provisioningState This property is required. String
Gets or sets the provisioning state of the policy.

PolicyModelResponseSystemData
, PolicyModelResponseSystemDataArgs

CreatedAt string
Gets or sets the timestamp of resource creation (UTC).
CreatedBy string
Gets or sets identity that created the resource.
CreatedByType string
Gets or sets the type of identity that created the resource: user, application, managedIdentity.
LastModifiedAt string
Gets or sets the timestamp of resource last modification (UTC).
LastModifiedBy string
Gets or sets the identity that last modified the resource.
LastModifiedByType string
Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
CreatedAt string
Gets or sets the timestamp of resource creation (UTC).
CreatedBy string
Gets or sets identity that created the resource.
CreatedByType string
Gets or sets the type of identity that created the resource: user, application, managedIdentity.
LastModifiedAt string
Gets or sets the timestamp of resource last modification (UTC).
LastModifiedBy string
Gets or sets the identity that last modified the resource.
LastModifiedByType string
Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
createdAt String
Gets or sets the timestamp of resource creation (UTC).
createdBy String
Gets or sets identity that created the resource.
createdByType String
Gets or sets the type of identity that created the resource: user, application, managedIdentity.
lastModifiedAt String
Gets or sets the timestamp of resource last modification (UTC).
lastModifiedBy String
Gets or sets the identity that last modified the resource.
lastModifiedByType String
Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
createdAt string
Gets or sets the timestamp of resource creation (UTC).
createdBy string
Gets or sets identity that created the resource.
createdByType string
Gets or sets the type of identity that created the resource: user, application, managedIdentity.
lastModifiedAt string
Gets or sets the timestamp of resource last modification (UTC).
lastModifiedBy string
Gets or sets the identity that last modified the resource.
lastModifiedByType string
Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
created_at str
Gets or sets the timestamp of resource creation (UTC).
created_by str
Gets or sets identity that created the resource.
created_by_type str
Gets or sets the type of identity that created the resource: user, application, managedIdentity.
last_modified_at str
Gets or sets the timestamp of resource last modification (UTC).
last_modified_by str
Gets or sets the identity that last modified the resource.
last_modified_by_type str
Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
createdAt String
Gets or sets the timestamp of resource creation (UTC).
createdBy String
Gets or sets identity that created the resource.
createdByType String
Gets or sets the type of identity that created the resource: user, application, managedIdentity.
lastModifiedAt String
Gets or sets the timestamp of resource last modification (UTC).
lastModifiedBy String
Gets or sets the identity that last modified the resource.
lastModifiedByType String
Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.

VMwareToAzStackHCIPolicyModelCustomProperties
, VMwareToAzStackHCIPolicyModelCustomPropertiesArgs

AppConsistentFrequencyInMinutes This property is required. int
Gets or sets the app consistent snapshot frequency (in minutes).
CrashConsistentFrequencyInMinutes This property is required. int
Gets or sets the crash consistent snapshot frequency (in minutes).
RecoveryPointHistoryInMinutes This property is required. int
Gets or sets the duration in minutes until which the recovery points need to be stored.
AppConsistentFrequencyInMinutes This property is required. int
Gets or sets the app consistent snapshot frequency (in minutes).
CrashConsistentFrequencyInMinutes This property is required. int
Gets or sets the crash consistent snapshot frequency (in minutes).
RecoveryPointHistoryInMinutes This property is required. int
Gets or sets the duration in minutes until which the recovery points need to be stored.
appConsistentFrequencyInMinutes This property is required. Integer
Gets or sets the app consistent snapshot frequency (in minutes).
crashConsistentFrequencyInMinutes This property is required. Integer
Gets or sets the crash consistent snapshot frequency (in minutes).
recoveryPointHistoryInMinutes This property is required. Integer
Gets or sets the duration in minutes until which the recovery points need to be stored.
appConsistentFrequencyInMinutes This property is required. number
Gets or sets the app consistent snapshot frequency (in minutes).
crashConsistentFrequencyInMinutes This property is required. number
Gets or sets the crash consistent snapshot frequency (in minutes).
recoveryPointHistoryInMinutes This property is required. number
Gets or sets the duration in minutes until which the recovery points need to be stored.
app_consistent_frequency_in_minutes This property is required. int
Gets or sets the app consistent snapshot frequency (in minutes).
crash_consistent_frequency_in_minutes This property is required. int
Gets or sets the crash consistent snapshot frequency (in minutes).
recovery_point_history_in_minutes This property is required. int
Gets or sets the duration in minutes until which the recovery points need to be stored.
appConsistentFrequencyInMinutes This property is required. Number
Gets or sets the app consistent snapshot frequency (in minutes).
crashConsistentFrequencyInMinutes This property is required. Number
Gets or sets the crash consistent snapshot frequency (in minutes).
recoveryPointHistoryInMinutes This property is required. Number
Gets or sets the duration in minutes until which the recovery points need to be stored.

VMwareToAzStackHCIPolicyModelCustomPropertiesResponse
, VMwareToAzStackHCIPolicyModelCustomPropertiesResponseArgs

AppConsistentFrequencyInMinutes This property is required. int
Gets or sets the app consistent snapshot frequency (in minutes).
CrashConsistentFrequencyInMinutes This property is required. int
Gets or sets the crash consistent snapshot frequency (in minutes).
RecoveryPointHistoryInMinutes This property is required. int
Gets or sets the duration in minutes until which the recovery points need to be stored.
AppConsistentFrequencyInMinutes This property is required. int
Gets or sets the app consistent snapshot frequency (in minutes).
CrashConsistentFrequencyInMinutes This property is required. int
Gets or sets the crash consistent snapshot frequency (in minutes).
RecoveryPointHistoryInMinutes This property is required. int
Gets or sets the duration in minutes until which the recovery points need to be stored.
appConsistentFrequencyInMinutes This property is required. Integer
Gets or sets the app consistent snapshot frequency (in minutes).
crashConsistentFrequencyInMinutes This property is required. Integer
Gets or sets the crash consistent snapshot frequency (in minutes).
recoveryPointHistoryInMinutes This property is required. Integer
Gets or sets the duration in minutes until which the recovery points need to be stored.
appConsistentFrequencyInMinutes This property is required. number
Gets or sets the app consistent snapshot frequency (in minutes).
crashConsistentFrequencyInMinutes This property is required. number
Gets or sets the crash consistent snapshot frequency (in minutes).
recoveryPointHistoryInMinutes This property is required. number
Gets or sets the duration in minutes until which the recovery points need to be stored.
app_consistent_frequency_in_minutes This property is required. int
Gets or sets the app consistent snapshot frequency (in minutes).
crash_consistent_frequency_in_minutes This property is required. int
Gets or sets the crash consistent snapshot frequency (in minutes).
recovery_point_history_in_minutes This property is required. int
Gets or sets the duration in minutes until which the recovery points need to be stored.
appConsistentFrequencyInMinutes This property is required. Number
Gets or sets the app consistent snapshot frequency (in minutes).
crashConsistentFrequencyInMinutes This property is required. Number
Gets or sets the crash consistent snapshot frequency (in minutes).
recoveryPointHistoryInMinutes This property is required. Number
Gets or sets the duration in minutes until which the recovery points need to be stored.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:datareplication:Policy ocmty /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationPolicies/{policyName} 
Copy

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

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi