Module siterecovery
This page documents the language specification for the azure package. If you're looking for help working with the inputs, outputs, or functions of azure resources in a Pulumi program, please see the resource documentation for examples and API reference.
Resources
Others
- FabricArgs
- FabricState
- NetworkMappingArgs
- NetworkMappingState
- ProtectionContainerArgs
- ProtectionContainerMappingArgs
- ProtectionContainerMappingState
- ProtectionContainerState
- ReplicatedVMArgs
- ReplicatedVMState
- ReplicationPolicyArgs
- ReplicationPolicyState
Resources
Resource Fabric
class Fabric extends CustomResourceManages a Azure Site Recovery Replication Fabric within a Recovery Services vault. Only Azure fabrics are supported at this time. Replication Fabrics serve as a container within an Azure region for other Site Recovery resources such as protection containers, protected items, network mappings.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const primary = new azure.core.ResourceGroup("primary", {location: "West US"});
const secondary = new azure.core.ResourceGroup("secondary", {location: "East US"});
const vault = new azure.recoveryservices.Vault("vault", {
location: secondary.location,
resourceGroupName: secondary.name,
sku: "Standard",
});
const fabric = new azure.siterecovery.Fabric("fabric", {
resourceGroupName: secondary.name,
recoveryVaultName: vault.name,
location: primary.location,
});constructor
new Fabric(name: string, args: FabricArgs, opts?: pulumi.CustomResourceOptions)Create a Fabric resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FabricState, opts?: pulumi.CustomResourceOptions): FabricGet an existing Fabric resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is FabricReturns true if the given object is an instance of Fabric. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property location
public location: pulumi.Output<string>;In what region should the fabric be located.
property name
public name: pulumi.Output<string>;The name of the network mapping.
property recoveryVaultName
public recoveryVaultName: pulumi.Output<string>;The name of the vault that should be updated.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;Name of the resource group where the vault that should be updated is located.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource NetworkMapping
class NetworkMapping extends CustomResourceManages a site recovery network mapping on Azure. A network mapping decides how to translate connected netwroks when a VM is migrated from one region to another.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const primaryResourceGroup = new azure.core.ResourceGroup("primaryResourceGroup", {location: "West US"});
const secondaryResourceGroup = new azure.core.ResourceGroup("secondaryResourceGroup", {location: "East US"});
const vault = new azure.recoveryservices.Vault("vault", {
location: secondaryResourceGroup.location,
resourceGroupName: secondaryResourceGroup.name,
sku: "Standard",
});
const primaryFabric = new azure.siterecovery.Fabric("primaryFabric", {
resourceGroupName: secondaryResourceGroup.name,
recoveryVaultName: vault.name,
location: primaryResourceGroup.location,
});
const secondaryFabric = new azure.siterecovery.Fabric("secondaryFabric", {
resourceGroupName: secondaryResourceGroup.name,
recoveryVaultName: vault.name,
location: secondaryResourceGroup.location,
});
// Avoids issues with crearing fabrics simultainusly
const primaryVirtualNetwork = new azure.network.VirtualNetwork("primaryVirtualNetwork", {
resourceGroupName: primaryResourceGroup.name,
addressSpaces: ["192.168.1.0/24"],
location: primaryResourceGroup.location,
});
const secondaryVirtualNetwork = new azure.network.VirtualNetwork("secondaryVirtualNetwork", {
resourceGroupName: secondaryResourceGroup.name,
addressSpaces: ["192.168.2.0/24"],
location: secondaryResourceGroup.location,
});
const recovery_mapping = new azure.siterecovery.NetworkMapping("recovery-mapping", {
resourceGroupName: secondaryResourceGroup.name,
recoveryVaultName: vault.name,
sourceRecoveryFabricName: "primary-fabric",
targetRecoveryFabricName: "secondary-fabric",
sourceNetworkId: primaryVirtualNetwork.id,
targetNetworkId: secondaryVirtualNetwork.id,
});constructor
new NetworkMapping(name: string, args: NetworkMappingArgs, opts?: pulumi.CustomResourceOptions)Create a NetworkMapping resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkMappingState, opts?: pulumi.CustomResourceOptions): NetworkMappingGet an existing NetworkMapping resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is NetworkMappingReturns true if the given object is an instance of NetworkMapping. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property name
public name: pulumi.Output<string>;The name of the network mapping.
property recoveryVaultName
public recoveryVaultName: pulumi.Output<string>;The name of the vault that should be updated.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;Name of the resource group where the vault that should be updated is located.
property sourceNetworkId
public sourceNetworkId: pulumi.Output<string>;The id of the primary network.
property sourceRecoveryFabricName
public sourceRecoveryFabricName: pulumi.Output<string>;Specifies the ASR fabric where mapping should be created.
property targetNetworkId
public targetNetworkId: pulumi.Output<string>;The id of the recovery network.
property targetRecoveryFabricName
public targetRecoveryFabricName: pulumi.Output<string>;The Azure Site Recovery fabric object corresponding to the recovery Azure region.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource ProtectionContainer
class ProtectionContainer extends CustomResourceManages a Azure Site Recovery protection container. Protection containers serve as containers for replicated VMs and belong to a single region / recovery fabric. Protection containers can contain more than one replicated VM. To replicate a VM, a container must exist in both the source and target Azure regions.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const primary = new azure.core.ResourceGroup("primary", {location: "West US"});
const secondary = new azure.core.ResourceGroup("secondary", {location: "East US"});
const vault = new azure.recoveryservices.Vault("vault", {
location: secondary.location,
resourceGroupName: secondary.name,
sku: "Standard",
});
const fabric = new azure.siterecovery.Fabric("fabric", {
resourceGroupName: secondary.name,
recoveryVaultName: vault.name,
location: primary.location,
});
const protection_container = new azure.siterecovery.ProtectionContainer("protection-container", {
resourceGroupName: secondary.name,
recoveryVaultName: vault.name,
recoveryFabricName: fabric.name,
});constructor
new ProtectionContainer(name: string, args: ProtectionContainerArgs, opts?: pulumi.CustomResourceOptions)Create a ProtectionContainer resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProtectionContainerState, opts?: pulumi.CustomResourceOptions): ProtectionContainerGet an existing ProtectionContainer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ProtectionContainerReturns true if the given object is an instance of ProtectionContainer. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property name
public name: pulumi.Output<string>;The name of the network mapping.
property recoveryFabricName
public recoveryFabricName: pulumi.Output<string>;Name of fabric that should contain this protection container.
property recoveryVaultName
public recoveryVaultName: pulumi.Output<string>;The name of the vault that should be updated.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;Name of the resource group where the vault that should be updated is located.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource ProtectionContainerMapping
class ProtectionContainerMapping extends CustomResourceManages a Azure recovery vault protection container mapping. A protection container mapping decides how to translate the protection container when a VM is migrated from one region to another.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const primaryResourceGroup = new azure.core.ResourceGroup("primaryResourceGroup", {location: "West US"});
const secondaryResourceGroup = new azure.core.ResourceGroup("secondaryResourceGroup", {location: "East US"});
const vault = new azure.recoveryservices.Vault("vault", {
location: secondaryResourceGroup.location,
resourceGroupName: secondaryResourceGroup.name,
sku: "Standard",
});
const primaryFabric = new azure.siterecovery.Fabric("primaryFabric", {
resourceGroupName: secondaryResourceGroup.name,
recoveryVaultName: vault.name,
location: primaryResourceGroup.location,
});
const secondaryFabric = new azure.siterecovery.Fabric("secondaryFabric", {
resourceGroupName: secondaryResourceGroup.name,
recoveryVaultName: vault.name,
location: secondaryResourceGroup.location,
});
const primaryProtectionContainer = new azure.siterecovery.ProtectionContainer("primaryProtectionContainer", {
resourceGroupName: secondaryResourceGroup.name,
recoveryVaultName: vault.name,
recoveryFabricName: primaryFabric.name,
});
const secondaryProtectionContainer = new azure.siterecovery.ProtectionContainer("secondaryProtectionContainer", {
resourceGroupName: secondaryResourceGroup.name,
recoveryVaultName: vault.name,
recoveryFabricName: secondaryFabric.name,
});
const policy = new azure.siterecovery.ReplicationPolicy("policy", {
resourceGroupName: secondaryResourceGroup.name,
recoveryVaultName: vault.name,
recoveryPointRetentionInMinutes: 24 * 60,
applicationConsistentSnapshotFrequencyInMinutes: 4 * 60,
});
const container_mapping = new azure.siterecovery.ProtectionContainerMapping("container-mapping", {
resourceGroupName: secondaryResourceGroup.name,
recoveryVaultName: vault.name,
recoveryFabricName: primaryFabric.name,
recoverySourceProtectionContainerName: primaryProtectionContainer.name,
recoveryTargetProtectionContainerId: secondaryProtectionContainer.id,
recoveryReplicationPolicyId: policy.id,
});constructor
new ProtectionContainerMapping(name: string, args: ProtectionContainerMappingArgs, opts?: pulumi.CustomResourceOptions)Create a ProtectionContainerMapping resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProtectionContainerMappingState, opts?: pulumi.CustomResourceOptions): ProtectionContainerMappingGet an existing ProtectionContainerMapping resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ProtectionContainerMappingReturns true if the given object is an instance of ProtectionContainerMapping. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property name
public name: pulumi.Output<string>;The name of the network mapping.
property recoveryFabricName
public recoveryFabricName: pulumi.Output<string>;Name of fabric that should contains the protection container to map.
property recoveryReplicationPolicyId
public recoveryReplicationPolicyId: pulumi.Output<string>;Id of the policy to use for this mapping.
property recoverySourceProtectionContainerName
public recoverySourceProtectionContainerName: pulumi.Output<string>;Name of the source protection container to map.
property recoveryTargetProtectionContainerId
public recoveryTargetProtectionContainerId: pulumi.Output<string>;Id of target protection container to map to.
property recoveryVaultName
public recoveryVaultName: pulumi.Output<string>;The name of the vault that should be updated.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;Name of the resource group where the vault that should be updated is located.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource ReplicatedVM
class ReplicatedVM extends CustomResourceManages a VM replicated using Azure Site Recovery (Azure to Azure only). A replicated VM keeps a copiously updated image of the VM in another region in order to be able to start the VM in that region in case of a disaster.
constructor
new ReplicatedVM(name: string, args: ReplicatedVMArgs, opts?: pulumi.CustomResourceOptions)Create a ReplicatedVM resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ReplicatedVMState, opts?: pulumi.CustomResourceOptions): ReplicatedVMGet an existing ReplicatedVM resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ReplicatedVMReturns true if the given object is an instance of ReplicatedVM. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property managedDisks
public managedDisks: pulumi.Output<ReplicatedVMManagedDisk[] | undefined>;One or more managedDisk block.
property name
public name: pulumi.Output<string>;The name of the network mapping.
property recoveryReplicationPolicyId
public recoveryReplicationPolicyId: pulumi.Output<string>;property recoveryVaultName
public recoveryVaultName: pulumi.Output<string>;The name of the vault that should be updated.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;Name of the resource group where the vault that should be updated is located.
property sourceRecoveryFabricName
public sourceRecoveryFabricName: pulumi.Output<string>;Name of fabric that should contains this replication.
property sourceRecoveryProtectionContainerName
public sourceRecoveryProtectionContainerName: pulumi.Output<string>;Name of the protection container to use.
property sourceVmId
public sourceVmId: pulumi.Output<string>;Id of the VM to replicate
property targetAvailabilitySetId
public targetAvailabilitySetId: pulumi.Output<string | undefined>;Id of availability set that the new VM should belong to when a failover is done.
property targetRecoveryFabricId
public targetRecoveryFabricId: pulumi.Output<string>;Id of fabric where the VM replication should be handled when a failover is done.
property targetRecoveryProtectionContainerId
public targetRecoveryProtectionContainerId: pulumi.Output<string>;Id of protection container where the VM replication should be created when a failover is done.
property targetResourceGroupId
public targetResourceGroupId: pulumi.Output<string>;Id of resource group where the VM should be created when a failover is done.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource ReplicationPolicy
class ReplicationPolicy extends CustomResourceManages 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 secondary = new azure.core.ResourceGroup("secondary", {location: "East US"});
const vault = new azure.recoveryservices.Vault("vault", {
location: secondary.location,
resourceGroupName: secondary.name,
sku: "Standard",
});
const policy = new azure.siterecovery.ReplicationPolicy("policy", {
resourceGroupName: secondary.name,
recoveryVaultName: vault.name,
recoveryPointRetentionInMinutes: 24 * 60,
applicationConsistentSnapshotFrequencyInMinutes: 4 * 60,
});constructor
new ReplicationPolicy(name: string, args: ReplicationPolicyArgs, opts?: pulumi.CustomResourceOptions)Create a ReplicationPolicy resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ReplicationPolicyState, opts?: pulumi.CustomResourceOptions): ReplicationPolicyGet an existing ReplicationPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ReplicationPolicyReturns true if the given object is an instance of ReplicationPolicy. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property applicationConsistentSnapshotFrequencyInMinutes
public applicationConsistentSnapshotFrequencyInMinutes: pulumi.Output<number>;Specifies the frequency(in minutes) at which to create application consistent recovery points.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property name
public name: pulumi.Output<string>;The name of the network mapping.
property recoveryPointRetentionInMinutes
public recoveryPointRetentionInMinutes: pulumi.Output<number>;The duration in minutes for which the recovery points need to be stored.
property recoveryVaultName
public recoveryVaultName: pulumi.Output<string>;The name of the vault that should be updated.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;Name of the resource group where the vault that should be updated is located.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Others
interface FabricArgs
interface FabricArgsThe set of arguments for constructing a Fabric resource.
property location
location?: pulumi.Input<string>;In what region should the fabric be located.
property name
name?: pulumi.Input<string>;The name of the network mapping.
property recoveryVaultName
recoveryVaultName: pulumi.Input<string>;The name of the vault that should be updated.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;Name of the resource group where the vault that should be updated is located.
interface FabricState
interface FabricStateInput properties used for looking up and filtering Fabric resources.
property location
location?: pulumi.Input<string>;In what region should the fabric be located.
property name
name?: pulumi.Input<string>;The name of the network mapping.
property recoveryVaultName
recoveryVaultName?: pulumi.Input<string>;The name of the vault that should be updated.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;Name of the resource group where the vault that should be updated is located.
interface NetworkMappingArgs
interface NetworkMappingArgsThe set of arguments for constructing a NetworkMapping resource.
property name
name?: pulumi.Input<string>;The name of the network mapping.
property recoveryVaultName
recoveryVaultName: pulumi.Input<string>;The name of the vault that should be updated.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;Name of the resource group where the vault that should be updated is located.
property sourceNetworkId
sourceNetworkId: pulumi.Input<string>;The id of the primary network.
property sourceRecoveryFabricName
sourceRecoveryFabricName: pulumi.Input<string>;Specifies the ASR fabric where mapping should be created.
property targetNetworkId
targetNetworkId: pulumi.Input<string>;The id of the recovery network.
property targetRecoveryFabricName
targetRecoveryFabricName: pulumi.Input<string>;The Azure Site Recovery fabric object corresponding to the recovery Azure region.
interface NetworkMappingState
interface NetworkMappingStateInput properties used for looking up and filtering NetworkMapping resources.
property name
name?: pulumi.Input<string>;The name of the network mapping.
property recoveryVaultName
recoveryVaultName?: pulumi.Input<string>;The name of the vault that should be updated.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;Name of the resource group where the vault that should be updated is located.
property sourceNetworkId
sourceNetworkId?: pulumi.Input<string>;The id of the primary network.
property sourceRecoveryFabricName
sourceRecoveryFabricName?: pulumi.Input<string>;Specifies the ASR fabric where mapping should be created.
property targetNetworkId
targetNetworkId?: pulumi.Input<string>;The id of the recovery network.
property targetRecoveryFabricName
targetRecoveryFabricName?: pulumi.Input<string>;The Azure Site Recovery fabric object corresponding to the recovery Azure region.
interface ProtectionContainerArgs
interface ProtectionContainerArgsThe set of arguments for constructing a ProtectionContainer resource.
property name
name?: pulumi.Input<string>;The name of the network mapping.
property recoveryFabricName
recoveryFabricName: pulumi.Input<string>;Name of fabric that should contain this protection container.
property recoveryVaultName
recoveryVaultName: pulumi.Input<string>;The name of the vault that should be updated.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;Name of the resource group where the vault that should be updated is located.
interface ProtectionContainerMappingArgs
interface ProtectionContainerMappingArgsThe set of arguments for constructing a ProtectionContainerMapping resource.
property name
name?: pulumi.Input<string>;The name of the network mapping.
property recoveryFabricName
recoveryFabricName: pulumi.Input<string>;Name of fabric that should contains the protection container to map.
property recoveryReplicationPolicyId
recoveryReplicationPolicyId: pulumi.Input<string>;Id of the policy to use for this mapping.
property recoverySourceProtectionContainerName
recoverySourceProtectionContainerName: pulumi.Input<string>;Name of the source protection container to map.
property recoveryTargetProtectionContainerId
recoveryTargetProtectionContainerId: pulumi.Input<string>;Id of target protection container to map to.
property recoveryVaultName
recoveryVaultName: pulumi.Input<string>;The name of the vault that should be updated.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;Name of the resource group where the vault that should be updated is located.
interface ProtectionContainerMappingState
interface ProtectionContainerMappingStateInput properties used for looking up and filtering ProtectionContainerMapping resources.
property name
name?: pulumi.Input<string>;The name of the network mapping.
property recoveryFabricName
recoveryFabricName?: pulumi.Input<string>;Name of fabric that should contains the protection container to map.
property recoveryReplicationPolicyId
recoveryReplicationPolicyId?: pulumi.Input<string>;Id of the policy to use for this mapping.
property recoverySourceProtectionContainerName
recoverySourceProtectionContainerName?: pulumi.Input<string>;Name of the source protection container to map.
property recoveryTargetProtectionContainerId
recoveryTargetProtectionContainerId?: pulumi.Input<string>;Id of target protection container to map to.
property recoveryVaultName
recoveryVaultName?: pulumi.Input<string>;The name of the vault that should be updated.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;Name of the resource group where the vault that should be updated is located.
interface ProtectionContainerState
interface ProtectionContainerStateInput properties used for looking up and filtering ProtectionContainer resources.
property name
name?: pulumi.Input<string>;The name of the network mapping.
property recoveryFabricName
recoveryFabricName?: pulumi.Input<string>;Name of fabric that should contain this protection container.
property recoveryVaultName
recoveryVaultName?: pulumi.Input<string>;The name of the vault that should be updated.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;Name of the resource group where the vault that should be updated is located.
interface ReplicatedVMArgs
interface ReplicatedVMArgsThe set of arguments for constructing a ReplicatedVM resource.
property managedDisks
managedDisks?: pulumi.Input<pulumi.Input<ReplicatedVMManagedDisk>[]>;One or more managedDisk block.
property name
name?: pulumi.Input<string>;The name of the network mapping.
property recoveryReplicationPolicyId
recoveryReplicationPolicyId: pulumi.Input<string>;property recoveryVaultName
recoveryVaultName: pulumi.Input<string>;The name of the vault that should be updated.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;Name of the resource group where the vault that should be updated is located.
property sourceRecoveryFabricName
sourceRecoveryFabricName: pulumi.Input<string>;Name of fabric that should contains this replication.
property sourceRecoveryProtectionContainerName
sourceRecoveryProtectionContainerName: pulumi.Input<string>;Name of the protection container to use.
property sourceVmId
sourceVmId: pulumi.Input<string>;Id of the VM to replicate
property targetAvailabilitySetId
targetAvailabilitySetId?: pulumi.Input<string>;Id of availability set that the new VM should belong to when a failover is done.
property targetRecoveryFabricId
targetRecoveryFabricId: pulumi.Input<string>;Id of fabric where the VM replication should be handled when a failover is done.
property targetRecoveryProtectionContainerId
targetRecoveryProtectionContainerId: pulumi.Input<string>;Id of protection container where the VM replication should be created when a failover is done.
property targetResourceGroupId
targetResourceGroupId: pulumi.Input<string>;Id of resource group where the VM should be created when a failover is done.
interface ReplicatedVMState
interface ReplicatedVMStateInput properties used for looking up and filtering ReplicatedVM resources.
property managedDisks
managedDisks?: pulumi.Input<pulumi.Input<ReplicatedVMManagedDisk>[]>;One or more managedDisk block.
property name
name?: pulumi.Input<string>;The name of the network mapping.
property recoveryReplicationPolicyId
recoveryReplicationPolicyId?: pulumi.Input<string>;property recoveryVaultName
recoveryVaultName?: pulumi.Input<string>;The name of the vault that should be updated.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;Name of the resource group where the vault that should be updated is located.
property sourceRecoveryFabricName
sourceRecoveryFabricName?: pulumi.Input<string>;Name of fabric that should contains this replication.
property sourceRecoveryProtectionContainerName
sourceRecoveryProtectionContainerName?: pulumi.Input<string>;Name of the protection container to use.
property sourceVmId
sourceVmId?: pulumi.Input<string>;Id of the VM to replicate
property targetAvailabilitySetId
targetAvailabilitySetId?: pulumi.Input<string>;Id of availability set that the new VM should belong to when a failover is done.
property targetRecoveryFabricId
targetRecoveryFabricId?: pulumi.Input<string>;Id of fabric where the VM replication should be handled when a failover is done.
property targetRecoveryProtectionContainerId
targetRecoveryProtectionContainerId?: pulumi.Input<string>;Id of protection container where the VM replication should be created when a failover is done.
property targetResourceGroupId
targetResourceGroupId?: pulumi.Input<string>;Id of resource group where the VM should be created when a failover is done.
interface ReplicationPolicyArgs
interface ReplicationPolicyArgsThe set of arguments for constructing a ReplicationPolicy resource.
property applicationConsistentSnapshotFrequencyInMinutes
applicationConsistentSnapshotFrequencyInMinutes: pulumi.Input<number>;Specifies the frequency(in minutes) at which to create application consistent recovery points.
property name
name?: pulumi.Input<string>;The name of the network mapping.
property recoveryPointRetentionInMinutes
recoveryPointRetentionInMinutes: pulumi.Input<number>;The duration in minutes for which the recovery points need to be stored.
property recoveryVaultName
recoveryVaultName: pulumi.Input<string>;The name of the vault that should be updated.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;Name of the resource group where the vault that should be updated is located.
interface ReplicationPolicyState
interface ReplicationPolicyStateInput properties used for looking up and filtering ReplicationPolicy resources.
property applicationConsistentSnapshotFrequencyInMinutes
applicationConsistentSnapshotFrequencyInMinutes?: pulumi.Input<number>;Specifies the frequency(in minutes) at which to create application consistent recovery points.
property name
name?: pulumi.Input<string>;The name of the network mapping.
property recoveryPointRetentionInMinutes
recoveryPointRetentionInMinutes?: pulumi.Input<number>;The duration in minutes for which the recovery points need to be stored.
property recoveryVaultName
recoveryVaultName?: pulumi.Input<string>;The name of the vault that should be updated.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;Name of the resource group where the vault that should be updated is located.