Show / Hide Table of Contents

Class ReplicatedVM

Manages a VM replicated using Azure Site Recovery (Azure to Azure only). A replicated VM keeps a copiously updated image of the VM in another region in order to be able to start the VM in that region in case of a disaster.

Inheritance
System.Object
Resource
CustomResource
ReplicatedVM
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.SiteRecovery
Assembly: Pulumi.Azure.dll
Syntax
public class ReplicatedVM : CustomResource

Constructors

View Source

ReplicatedVM(String, ReplicatedVMArgs, CustomResourceOptions)

Create a ReplicatedVM resource with the given unique name, arguments, and options.

Declaration
public ReplicatedVM(string name, ReplicatedVMArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ReplicatedVMArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ManagedDisks

One or more managed_disk block.

Declaration
public Output<ImmutableArray<ReplicatedVMManagedDisk>> ManagedDisks { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<ReplicatedVMManagedDisk>>
View Source

Name

The name of the network mapping.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

RecoveryReplicationPolicyId

Declaration
public Output<string> RecoveryReplicationPolicyId { get; }
Property Value
Type Description
Output<System.String>
View Source

RecoveryVaultName

The name of the vault that should be updated.

Declaration
public Output<string> RecoveryVaultName { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceGroupName

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

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>
View Source

SourceRecoveryFabricName

Name of fabric that should contains this replication.

Declaration
public Output<string> SourceRecoveryFabricName { get; }
Property Value
Type Description
Output<System.String>
View Source

SourceRecoveryProtectionContainerName

Name of the protection container to use.

Declaration
public Output<string> SourceRecoveryProtectionContainerName { get; }
Property Value
Type Description
Output<System.String>
View Source

SourceVmId

Id of the VM to replicate

Declaration
public Output<string> SourceVmId { get; }
Property Value
Type Description
Output<System.String>
View Source

TargetAvailabilitySetId

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

Declaration
public Output<string> TargetAvailabilitySetId { get; }
Property Value
Type Description
Output<System.String>
View Source

TargetRecoveryFabricId

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

Declaration
public Output<string> TargetRecoveryFabricId { get; }
Property Value
Type Description
Output<System.String>
View Source

TargetRecoveryProtectionContainerId

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

Declaration
public Output<string> TargetRecoveryProtectionContainerId { get; }
Property Value
Type Description
Output<System.String>
View Source

TargetResourceGroupId

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

Declaration
public Output<string> TargetResourceGroupId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ReplicatedVMState, CustomResourceOptions)

Get an existing ReplicatedVM resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ReplicatedVM Get(string name, Input<string> id, ReplicatedVMState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ReplicatedVMState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ReplicatedVM
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.