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.
Inherited Members
Namespace: Pulumi.Azure.SiteRecovery
Assembly: Pulumi.Azure.dll
Syntax
public class ReplicatedVM : CustomResource
Constructors
View SourceReplicatedVM(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 SourceManagedDisks
One or more managed_disk block.
Declaration
public Output<ImmutableArray<ReplicatedVMManagedDisk>> ManagedDisks { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ReplicatedVMManagedDisk>> |
Name
The name of the network mapping.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RecoveryReplicationPolicyId
Declaration
public Output<string> RecoveryReplicationPolicyId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RecoveryVaultName
The name of the vault that should be updated.
Declaration
public Output<string> RecoveryVaultName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
SourceRecoveryFabricName
Name of fabric that should contains this replication.
Declaration
public Output<string> SourceRecoveryFabricName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SourceRecoveryProtectionContainerName
Name of the protection container to use.
Declaration
public Output<string> SourceRecoveryProtectionContainerName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SourceVmId
Id of the VM to replicate
Declaration
public Output<string> SourceVmId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
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> |
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> |
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 SourceGet(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 |