We recommend using Azure Native.
azure.siterecovery.VmwareReplicatedVm
Manages a VMWare replicated VM using Azure Site Recovery (VMWare to Azure only). A replicated VM keeps a copiously updated image of the VM in Azure in order to be able to start the VM in Azure in case of a disaster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
    name: "example-rg",
    location: "West US",
});
const exampleVault = new azure.recoveryservices.Vault("example", {
    name: "example-recovery-vault",
    location: example.location,
    resourceGroupName: example.name,
    sku: "Standard",
});
const exampleVMWareReplicationPolicy = new azure.siterecovery.VMWareReplicationPolicy("example", {
    recoveryVaultId: exampleVault.id,
    name: "example-policy",
    recoveryPointRetentionInMinutes: 1440,
    applicationConsistentSnapshotFrequencyInMinutes: 240,
});
const test = new azure.siterecovery.VmwareReplicationPolicyAssociation("test", {
    name: "example-association",
    recoveryVaultId: exampleVault.id,
    policyId: exampleVMWareReplicationPolicy.id,
});
const exampleAccount = new azure.storage.Account("example", {
    name: "examplestorageacc",
    resourceGroupName: example.name,
    location: example.location,
    accountTier: "Standard",
    accountKind: "StorageV2",
    accountReplicationType: "LRS",
});
const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
    name: "example-net",
    resourceGroupName: example.name,
    addressSpaces: ["192.168.2.0/24"],
    location: example.location,
});
const exampleSubnet = new azure.network.Subnet("example", {
    name: "example-subnet",
    resourceGroupName: example.name,
    virtualNetworkName: exampleVirtualNetwork.name,
    addressPrefixes: ["192.168.2.0/24"],
});
const exampleVmwareReplicatedVm = new azure.siterecovery.VmwareReplicatedVm("example", {
    name: "example-vmware-vm",
    recoveryVaultId: exampleVault.id,
    sourceVmName: "example-vm",
    applianceName: "example-appliance",
    recoveryReplicationPolicyId: exampleAzurermSiteRecoveryVmwareReplicationPolicyAssociation.policyId,
    physicalServerCredentialName: "example-creds",
    licenseType: "NotSpecified",
    targetBootDiagnosticsStorageAccountId: exampleAccount.id,
    targetVmName: "example_replicated_vm",
    targetResourceGroupId: example.id,
    defaultLogStorageAccountId: exampleAccount.id,
    defaultRecoveryDiskType: "Standard_LRS",
    targetNetworkId: exampleVirtualNetwork.id,
    networkInterfaces: [{
        sourceMacAddress: "00:00:00:00:00:00",
        targetSubnetName: exampleSubnet.name,
        isPrimary: true,
    }],
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="example-rg",
    location="West US")
example_vault = azure.recoveryservices.Vault("example",
    name="example-recovery-vault",
    location=example.location,
    resource_group_name=example.name,
    sku="Standard")
example_vm_ware_replication_policy = azure.siterecovery.VMWareReplicationPolicy("example",
    recovery_vault_id=example_vault.id,
    name="example-policy",
    recovery_point_retention_in_minutes=1440,
    application_consistent_snapshot_frequency_in_minutes=240)
test = azure.siterecovery.VmwareReplicationPolicyAssociation("test",
    name="example-association",
    recovery_vault_id=example_vault.id,
    policy_id=example_vm_ware_replication_policy.id)
example_account = azure.storage.Account("example",
    name="examplestorageacc",
    resource_group_name=example.name,
    location=example.location,
    account_tier="Standard",
    account_kind="StorageV2",
    account_replication_type="LRS")
example_virtual_network = azure.network.VirtualNetwork("example",
    name="example-net",
    resource_group_name=example.name,
    address_spaces=["192.168.2.0/24"],
    location=example.location)
example_subnet = azure.network.Subnet("example",
    name="example-subnet",
    resource_group_name=example.name,
    virtual_network_name=example_virtual_network.name,
    address_prefixes=["192.168.2.0/24"])
example_vmware_replicated_vm = azure.siterecovery.VmwareReplicatedVm("example",
    name="example-vmware-vm",
    recovery_vault_id=example_vault.id,
    source_vm_name="example-vm",
    appliance_name="example-appliance",
    recovery_replication_policy_id=example_azurerm_site_recovery_vmware_replication_policy_association["policyId"],
    physical_server_credential_name="example-creds",
    license_type="NotSpecified",
    target_boot_diagnostics_storage_account_id=example_account.id,
    target_vm_name="example_replicated_vm",
    target_resource_group_id=example.id,
    default_log_storage_account_id=example_account.id,
    default_recovery_disk_type="Standard_LRS",
    target_network_id=example_virtual_network.id,
    network_interfaces=[{
        "source_mac_address": "00:00:00:00:00:00",
        "target_subnet_name": example_subnet.name,
        "is_primary": True,
    }])
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/recoveryservices"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/siterecovery"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage"
	"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("example-rg"),
			Location: pulumi.String("West US"),
		})
		if err != nil {
			return err
		}
		exampleVault, err := recoveryservices.NewVault(ctx, "example", &recoveryservices.VaultArgs{
			Name:              pulumi.String("example-recovery-vault"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("Standard"),
		})
		if err != nil {
			return err
		}
		exampleVMWareReplicationPolicy, err := siterecovery.NewVMWareReplicationPolicy(ctx, "example", &siterecovery.VMWareReplicationPolicyArgs{
			RecoveryVaultId:                 exampleVault.ID(),
			Name:                            pulumi.String("example-policy"),
			RecoveryPointRetentionInMinutes: pulumi.Int(1440),
			ApplicationConsistentSnapshotFrequencyInMinutes: pulumi.Int(240),
		})
		if err != nil {
			return err
		}
		_, err = siterecovery.NewVmwareReplicationPolicyAssociation(ctx, "test", &siterecovery.VmwareReplicationPolicyAssociationArgs{
			Name:            pulumi.String("example-association"),
			RecoveryVaultId: exampleVault.ID(),
			PolicyId:        exampleVMWareReplicationPolicy.ID(),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("examplestorageacc"),
			ResourceGroupName:      example.Name,
			Location:               example.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountKind:            pulumi.String("StorageV2"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name:              pulumi.String("example-net"),
			ResourceGroupName: example.Name,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("192.168.2.0/24"),
			},
			Location: example.Location,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("example-subnet"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("192.168.2.0/24"),
			},
		})
		if err != nil {
			return err
		}
		_, err = siterecovery.NewVmwareReplicatedVm(ctx, "example", &siterecovery.VmwareReplicatedVmArgs{
			Name:                                  pulumi.String("example-vmware-vm"),
			RecoveryVaultId:                       exampleVault.ID(),
			SourceVmName:                          pulumi.String("example-vm"),
			ApplianceName:                         pulumi.String("example-appliance"),
			RecoveryReplicationPolicyId:           pulumi.Any(exampleAzurermSiteRecoveryVmwareReplicationPolicyAssociation.PolicyId),
			PhysicalServerCredentialName:          pulumi.String("example-creds"),
			LicenseType:                           pulumi.String("NotSpecified"),
			TargetBootDiagnosticsStorageAccountId: exampleAccount.ID(),
			TargetVmName:                          pulumi.String("example_replicated_vm"),
			TargetResourceGroupId:                 example.ID(),
			DefaultLogStorageAccountId:            exampleAccount.ID(),
			DefaultRecoveryDiskType:               pulumi.String("Standard_LRS"),
			TargetNetworkId:                       exampleVirtualNetwork.ID(),
			NetworkInterfaces: siterecovery.VmwareReplicatedVmNetworkInterfaceArray{
				&siterecovery.VmwareReplicatedVmNetworkInterfaceArgs{
					SourceMacAddress: pulumi.String("00:00:00:00:00:00"),
					TargetSubnetName: exampleSubnet.Name,
					IsPrimary:        pulumi.Bool(true),
				},
			},
		})
		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 = "example-rg",
        Location = "West US",
    });
    var exampleVault = new Azure.RecoveryServices.Vault("example", new()
    {
        Name = "example-recovery-vault",
        Location = example.Location,
        ResourceGroupName = example.Name,
        Sku = "Standard",
    });
    var exampleVMWareReplicationPolicy = new Azure.SiteRecovery.VMWareReplicationPolicy("example", new()
    {
        RecoveryVaultId = exampleVault.Id,
        Name = "example-policy",
        RecoveryPointRetentionInMinutes = 1440,
        ApplicationConsistentSnapshotFrequencyInMinutes = 240,
    });
    var test = new Azure.SiteRecovery.VmwareReplicationPolicyAssociation("test", new()
    {
        Name = "example-association",
        RecoveryVaultId = exampleVault.Id,
        PolicyId = exampleVMWareReplicationPolicy.Id,
    });
    var exampleAccount = new Azure.Storage.Account("example", new()
    {
        Name = "examplestorageacc",
        ResourceGroupName = example.Name,
        Location = example.Location,
        AccountTier = "Standard",
        AccountKind = "StorageV2",
        AccountReplicationType = "LRS",
    });
    var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("example", new()
    {
        Name = "example-net",
        ResourceGroupName = example.Name,
        AddressSpaces = new[]
        {
            "192.168.2.0/24",
        },
        Location = example.Location,
    });
    var exampleSubnet = new Azure.Network.Subnet("example", new()
    {
        Name = "example-subnet",
        ResourceGroupName = example.Name,
        VirtualNetworkName = exampleVirtualNetwork.Name,
        AddressPrefixes = new[]
        {
            "192.168.2.0/24",
        },
    });
    var exampleVmwareReplicatedVm = new Azure.SiteRecovery.VmwareReplicatedVm("example", new()
    {
        Name = "example-vmware-vm",
        RecoveryVaultId = exampleVault.Id,
        SourceVmName = "example-vm",
        ApplianceName = "example-appliance",
        RecoveryReplicationPolicyId = exampleAzurermSiteRecoveryVmwareReplicationPolicyAssociation.PolicyId,
        PhysicalServerCredentialName = "example-creds",
        LicenseType = "NotSpecified",
        TargetBootDiagnosticsStorageAccountId = exampleAccount.Id,
        TargetVmName = "example_replicated_vm",
        TargetResourceGroupId = example.Id,
        DefaultLogStorageAccountId = exampleAccount.Id,
        DefaultRecoveryDiskType = "Standard_LRS",
        TargetNetworkId = exampleVirtualNetwork.Id,
        NetworkInterfaces = new[]
        {
            new Azure.SiteRecovery.Inputs.VmwareReplicatedVmNetworkInterfaceArgs
            {
                SourceMacAddress = "00:00:00:00:00:00",
                TargetSubnetName = exampleSubnet.Name,
                IsPrimary = true,
            },
        },
    });
});
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.VMWareReplicationPolicy;
import com.pulumi.azure.siterecovery.VMWareReplicationPolicyArgs;
import com.pulumi.azure.siterecovery.VmwareReplicationPolicyAssociation;
import com.pulumi.azure.siterecovery.VmwareReplicationPolicyAssociationArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.network.VirtualNetwork;
import com.pulumi.azure.network.VirtualNetworkArgs;
import com.pulumi.azure.network.Subnet;
import com.pulumi.azure.network.SubnetArgs;
import com.pulumi.azure.siterecovery.VmwareReplicatedVm;
import com.pulumi.azure.siterecovery.VmwareReplicatedVmArgs;
import com.pulumi.azure.siterecovery.inputs.VmwareReplicatedVmNetworkInterfaceArgs;
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("example-rg")
            .location("West US")
            .build());
        var exampleVault = new Vault("exampleVault", VaultArgs.builder()
            .name("example-recovery-vault")
            .location(example.location())
            .resourceGroupName(example.name())
            .sku("Standard")
            .build());
        var exampleVMWareReplicationPolicy = new VMWareReplicationPolicy("exampleVMWareReplicationPolicy", VMWareReplicationPolicyArgs.builder()
            .recoveryVaultId(exampleVault.id())
            .name("example-policy")
            .recoveryPointRetentionInMinutes(1440)
            .applicationConsistentSnapshotFrequencyInMinutes(240)
            .build());
        var test = new VmwareReplicationPolicyAssociation("test", VmwareReplicationPolicyAssociationArgs.builder()
            .name("example-association")
            .recoveryVaultId(exampleVault.id())
            .policyId(exampleVMWareReplicationPolicy.id())
            .build());
        var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
            .name("examplestorageacc")
            .resourceGroupName(example.name())
            .location(example.location())
            .accountTier("Standard")
            .accountKind("StorageV2")
            .accountReplicationType("LRS")
            .build());
        var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()
            .name("example-net")
            .resourceGroupName(example.name())
            .addressSpaces("192.168.2.0/24")
            .location(example.location())
            .build());
        var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()
            .name("example-subnet")
            .resourceGroupName(example.name())
            .virtualNetworkName(exampleVirtualNetwork.name())
            .addressPrefixes("192.168.2.0/24")
            .build());
        var exampleVmwareReplicatedVm = new VmwareReplicatedVm("exampleVmwareReplicatedVm", VmwareReplicatedVmArgs.builder()
            .name("example-vmware-vm")
            .recoveryVaultId(exampleVault.id())
            .sourceVmName("example-vm")
            .applianceName("example-appliance")
            .recoveryReplicationPolicyId(exampleAzurermSiteRecoveryVmwareReplicationPolicyAssociation.policyId())
            .physicalServerCredentialName("example-creds")
            .licenseType("NotSpecified")
            .targetBootDiagnosticsStorageAccountId(exampleAccount.id())
            .targetVmName("example_replicated_vm")
            .targetResourceGroupId(example.id())
            .defaultLogStorageAccountId(exampleAccount.id())
            .defaultRecoveryDiskType("Standard_LRS")
            .targetNetworkId(exampleVirtualNetwork.id())
            .networkInterfaces(VmwareReplicatedVmNetworkInterfaceArgs.builder()
                .sourceMacAddress("00:00:00:00:00:00")
                .targetSubnetName(exampleSubnet.name())
                .isPrimary(true)
                .build())
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-rg
      location: West US
  exampleVault:
    type: azure:recoveryservices:Vault
    name: example
    properties:
      name: example-recovery-vault
      location: ${example.location}
      resourceGroupName: ${example.name}
      sku: Standard
  exampleVMWareReplicationPolicy:
    type: azure:siterecovery:VMWareReplicationPolicy
    name: example
    properties:
      recoveryVaultId: ${exampleVault.id}
      name: example-policy
      recoveryPointRetentionInMinutes: 1440
      applicationConsistentSnapshotFrequencyInMinutes: 240
  test:
    type: azure:siterecovery:VmwareReplicationPolicyAssociation
    properties:
      name: example-association
      recoveryVaultId: ${exampleVault.id}
      policyId: ${exampleVMWareReplicationPolicy.id}
  exampleAccount:
    type: azure:storage:Account
    name: example
    properties:
      name: examplestorageacc
      resourceGroupName: ${example.name}
      location: ${example.location}
      accountTier: Standard
      accountKind: StorageV2
      accountReplicationType: LRS
  exampleVirtualNetwork:
    type: azure:network:VirtualNetwork
    name: example
    properties:
      name: example-net
      resourceGroupName: ${example.name}
      addressSpaces:
        - 192.168.2.0/24
      location: ${example.location}
  exampleSubnet:
    type: azure:network:Subnet
    name: example
    properties:
      name: example-subnet
      resourceGroupName: ${example.name}
      virtualNetworkName: ${exampleVirtualNetwork.name}
      addressPrefixes:
        - 192.168.2.0/24
  exampleVmwareReplicatedVm:
    type: azure:siterecovery:VmwareReplicatedVm
    name: example
    properties:
      name: example-vmware-vm
      recoveryVaultId: ${exampleVault.id}
      sourceVmName: example-vm
      applianceName: example-appliance
      recoveryReplicationPolicyId: ${exampleAzurermSiteRecoveryVmwareReplicationPolicyAssociation.policyId}
      physicalServerCredentialName: example-creds
      licenseType: NotSpecified
      targetBootDiagnosticsStorageAccountId: ${exampleAccount.id}
      targetVmName: example_replicated_vm
      targetResourceGroupId: ${example.id}
      defaultLogStorageAccountId: ${exampleAccount.id}
      defaultRecoveryDiskType: Standard_LRS
      targetNetworkId: ${exampleVirtualNetwork.id}
      networkInterfaces:
        - sourceMacAddress: 00:00:00:00:00:00
          targetSubnetName: ${exampleSubnet.name}
          isPrimary: true
API Providers
This resource uses the following Azure API Providers:
- Microsoft.OffAzure- 2020-01-01
- Microsoft.RecoveryServices- 2024-04-01
Create VmwareReplicatedVm Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VmwareReplicatedVm(name: string, args: VmwareReplicatedVmArgs, opts?: CustomResourceOptions);@overload
def VmwareReplicatedVm(resource_name: str,
                       args: VmwareReplicatedVmArgs,
                       opts: Optional[ResourceOptions] = None)
@overload
def VmwareReplicatedVm(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       physical_server_credential_name: Optional[str] = None,
                       target_vm_name: Optional[str] = None,
                       target_resource_group_id: Optional[str] = None,
                       source_vm_name: Optional[str] = None,
                       recovery_vault_id: Optional[str] = None,
                       appliance_name: Optional[str] = None,
                       recovery_replication_policy_id: Optional[str] = None,
                       managed_disks: Optional[Sequence[VmwareReplicatedVmManagedDiskArgs]] = None,
                       target_boot_diagnostics_storage_account_id: Optional[str] = None,
                       name: Optional[str] = None,
                       multi_vm_group_name: Optional[str] = None,
                       license_type: Optional[str] = None,
                       default_target_disk_encryption_set_id: Optional[str] = None,
                       target_availability_set_id: Optional[str] = None,
                       network_interfaces: Optional[Sequence[VmwareReplicatedVmNetworkInterfaceArgs]] = None,
                       target_network_id: Optional[str] = None,
                       target_proximity_placement_group_id: Optional[str] = None,
                       default_recovery_disk_type: Optional[str] = None,
                       default_log_storage_account_id: Optional[str] = None,
                       target_vm_size: Optional[str] = None,
                       target_zone: Optional[str] = None,
                       test_network_id: Optional[str] = None)func NewVmwareReplicatedVm(ctx *Context, name string, args VmwareReplicatedVmArgs, opts ...ResourceOption) (*VmwareReplicatedVm, error)public VmwareReplicatedVm(string name, VmwareReplicatedVmArgs args, CustomResourceOptions? opts = null)
public VmwareReplicatedVm(String name, VmwareReplicatedVmArgs args)
public VmwareReplicatedVm(String name, VmwareReplicatedVmArgs args, CustomResourceOptions options)
type: azure:siterecovery:VmwareReplicatedVm
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VmwareReplicatedVmArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VmwareReplicatedVmArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VmwareReplicatedVmArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VmwareReplicatedVmArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VmwareReplicatedVmArgs
- 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 vmwareReplicatedVmResource = new Azure.SiteRecovery.VmwareReplicatedVm("vmwareReplicatedVmResource", new()
{
    PhysicalServerCredentialName = "string",
    TargetVmName = "string",
    TargetResourceGroupId = "string",
    SourceVmName = "string",
    RecoveryVaultId = "string",
    ApplianceName = "string",
    RecoveryReplicationPolicyId = "string",
    ManagedDisks = new[]
    {
        new Azure.SiteRecovery.Inputs.VmwareReplicatedVmManagedDiskArgs
        {
            DiskId = "string",
            TargetDiskType = "string",
            LogStorageAccountId = "string",
            TargetDiskEncryptionSetId = "string",
        },
    },
    TargetBootDiagnosticsStorageAccountId = "string",
    Name = "string",
    MultiVmGroupName = "string",
    LicenseType = "string",
    DefaultTargetDiskEncryptionSetId = "string",
    TargetAvailabilitySetId = "string",
    NetworkInterfaces = new[]
    {
        new Azure.SiteRecovery.Inputs.VmwareReplicatedVmNetworkInterfaceArgs
        {
            IsPrimary = false,
            SourceMacAddress = "string",
            TargetStaticIp = "string",
            TargetSubnetName = "string",
            TestSubnetName = "string",
        },
    },
    TargetNetworkId = "string",
    TargetProximityPlacementGroupId = "string",
    DefaultRecoveryDiskType = "string",
    DefaultLogStorageAccountId = "string",
    TargetVmSize = "string",
    TargetZone = "string",
    TestNetworkId = "string",
});
example, err := siterecovery.NewVmwareReplicatedVm(ctx, "vmwareReplicatedVmResource", &siterecovery.VmwareReplicatedVmArgs{
	PhysicalServerCredentialName: pulumi.String("string"),
	TargetVmName:                 pulumi.String("string"),
	TargetResourceGroupId:        pulumi.String("string"),
	SourceVmName:                 pulumi.String("string"),
	RecoveryVaultId:              pulumi.String("string"),
	ApplianceName:                pulumi.String("string"),
	RecoveryReplicationPolicyId:  pulumi.String("string"),
	ManagedDisks: siterecovery.VmwareReplicatedVmManagedDiskArray{
		&siterecovery.VmwareReplicatedVmManagedDiskArgs{
			DiskId:                    pulumi.String("string"),
			TargetDiskType:            pulumi.String("string"),
			LogStorageAccountId:       pulumi.String("string"),
			TargetDiskEncryptionSetId: pulumi.String("string"),
		},
	},
	TargetBootDiagnosticsStorageAccountId: pulumi.String("string"),
	Name:                                  pulumi.String("string"),
	MultiVmGroupName:                      pulumi.String("string"),
	LicenseType:                           pulumi.String("string"),
	DefaultTargetDiskEncryptionSetId:      pulumi.String("string"),
	TargetAvailabilitySetId:               pulumi.String("string"),
	NetworkInterfaces: siterecovery.VmwareReplicatedVmNetworkInterfaceArray{
		&siterecovery.VmwareReplicatedVmNetworkInterfaceArgs{
			IsPrimary:        pulumi.Bool(false),
			SourceMacAddress: pulumi.String("string"),
			TargetStaticIp:   pulumi.String("string"),
			TargetSubnetName: pulumi.String("string"),
			TestSubnetName:   pulumi.String("string"),
		},
	},
	TargetNetworkId:                 pulumi.String("string"),
	TargetProximityPlacementGroupId: pulumi.String("string"),
	DefaultRecoveryDiskType:         pulumi.String("string"),
	DefaultLogStorageAccountId:      pulumi.String("string"),
	TargetVmSize:                    pulumi.String("string"),
	TargetZone:                      pulumi.String("string"),
	TestNetworkId:                   pulumi.String("string"),
})
var vmwareReplicatedVmResource = new VmwareReplicatedVm("vmwareReplicatedVmResource", VmwareReplicatedVmArgs.builder()
    .physicalServerCredentialName("string")
    .targetVmName("string")
    .targetResourceGroupId("string")
    .sourceVmName("string")
    .recoveryVaultId("string")
    .applianceName("string")
    .recoveryReplicationPolicyId("string")
    .managedDisks(VmwareReplicatedVmManagedDiskArgs.builder()
        .diskId("string")
        .targetDiskType("string")
        .logStorageAccountId("string")
        .targetDiskEncryptionSetId("string")
        .build())
    .targetBootDiagnosticsStorageAccountId("string")
    .name("string")
    .multiVmGroupName("string")
    .licenseType("string")
    .defaultTargetDiskEncryptionSetId("string")
    .targetAvailabilitySetId("string")
    .networkInterfaces(VmwareReplicatedVmNetworkInterfaceArgs.builder()
        .isPrimary(false)
        .sourceMacAddress("string")
        .targetStaticIp("string")
        .targetSubnetName("string")
        .testSubnetName("string")
        .build())
    .targetNetworkId("string")
    .targetProximityPlacementGroupId("string")
    .defaultRecoveryDiskType("string")
    .defaultLogStorageAccountId("string")
    .targetVmSize("string")
    .targetZone("string")
    .testNetworkId("string")
    .build());
vmware_replicated_vm_resource = azure.siterecovery.VmwareReplicatedVm("vmwareReplicatedVmResource",
    physical_server_credential_name="string",
    target_vm_name="string",
    target_resource_group_id="string",
    source_vm_name="string",
    recovery_vault_id="string",
    appliance_name="string",
    recovery_replication_policy_id="string",
    managed_disks=[{
        "disk_id": "string",
        "target_disk_type": "string",
        "log_storage_account_id": "string",
        "target_disk_encryption_set_id": "string",
    }],
    target_boot_diagnostics_storage_account_id="string",
    name="string",
    multi_vm_group_name="string",
    license_type="string",
    default_target_disk_encryption_set_id="string",
    target_availability_set_id="string",
    network_interfaces=[{
        "is_primary": False,
        "source_mac_address": "string",
        "target_static_ip": "string",
        "target_subnet_name": "string",
        "test_subnet_name": "string",
    }],
    target_network_id="string",
    target_proximity_placement_group_id="string",
    default_recovery_disk_type="string",
    default_log_storage_account_id="string",
    target_vm_size="string",
    target_zone="string",
    test_network_id="string")
const vmwareReplicatedVmResource = new azure.siterecovery.VmwareReplicatedVm("vmwareReplicatedVmResource", {
    physicalServerCredentialName: "string",
    targetVmName: "string",
    targetResourceGroupId: "string",
    sourceVmName: "string",
    recoveryVaultId: "string",
    applianceName: "string",
    recoveryReplicationPolicyId: "string",
    managedDisks: [{
        diskId: "string",
        targetDiskType: "string",
        logStorageAccountId: "string",
        targetDiskEncryptionSetId: "string",
    }],
    targetBootDiagnosticsStorageAccountId: "string",
    name: "string",
    multiVmGroupName: "string",
    licenseType: "string",
    defaultTargetDiskEncryptionSetId: "string",
    targetAvailabilitySetId: "string",
    networkInterfaces: [{
        isPrimary: false,
        sourceMacAddress: "string",
        targetStaticIp: "string",
        targetSubnetName: "string",
        testSubnetName: "string",
    }],
    targetNetworkId: "string",
    targetProximityPlacementGroupId: "string",
    defaultRecoveryDiskType: "string",
    defaultLogStorageAccountId: "string",
    targetVmSize: "string",
    targetZone: "string",
    testNetworkId: "string",
});
type: azure:siterecovery:VmwareReplicatedVm
properties:
    applianceName: string
    defaultLogStorageAccountId: string
    defaultRecoveryDiskType: string
    defaultTargetDiskEncryptionSetId: string
    licenseType: string
    managedDisks:
        - diskId: string
          logStorageAccountId: string
          targetDiskEncryptionSetId: string
          targetDiskType: string
    multiVmGroupName: string
    name: string
    networkInterfaces:
        - isPrimary: false
          sourceMacAddress: string
          targetStaticIp: string
          targetSubnetName: string
          testSubnetName: string
    physicalServerCredentialName: string
    recoveryReplicationPolicyId: string
    recoveryVaultId: string
    sourceVmName: string
    targetAvailabilitySetId: string
    targetBootDiagnosticsStorageAccountId: string
    targetNetworkId: string
    targetProximityPlacementGroupId: string
    targetResourceGroupId: string
    targetVmName: string
    targetVmSize: string
    targetZone: string
    testNetworkId: string
VmwareReplicatedVm 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 VmwareReplicatedVm resource accepts the following input properties:
- ApplianceName string
- The name of VMWare appliance which handles the replication. Changing this forces a new resource to be created.
- PhysicalServer stringCredential Name 
- The name of the credential to access the source VM. Changing this forces a new resource to be created. More information about the credentials could be found here.
- RecoveryReplication stringPolicy Id 
- The ID of the policy to use for this replicated VM.
- RecoveryVault stringId 
- The ID of the Recovery Services Vault where the replicated VM is created.
- SourceVm stringName 
- The name of the source VM in VMWare. Changing this forces a new resource to be created.
- TargetResource stringGroup Id 
- The ID of resource group where the VM should be created when a failover is done.
- TargetVm stringName 
- Name of the VM that should be created when a failover is done. Changing this forces a new resource to be created.
- DefaultLog stringStorage Account Id 
- The ID of the stroage account that should be used for logging during replication. - Note: Only standard types of storage accounts are allowed. - Note: Only one of - default_log_storage_account_idor- managed_diskmust be specified.- Note: Changing - default_log_storage_account_idforces a new resource to be created. But removing it does not.- Note: When - default_log_storage_account_idco-exist with- managed_disk, the value of- default_log_storage_account_idmust be as same as- log_storage_account_idof every- managed_diskor it forces a new resource to be created.
- DefaultRecovery stringDisk Type 
- The type of storage account that should be used for recovery disks when a failover is done. Possible values are - Premium_LRS,- Standard_LRSand- StandardSSD_LRS.- Note: Only one of - default_recovery_disk_typeor- managed_diskmust be specified.- Note: Changing - default_recovery_disk_typeforces a new resource to be created. But removing it does not.- Note: When - default_recovery_disk_typeco-exist with- managed_disk, the value of- default_recovery_disk_typemust be as same as- target_disk_typeof every- managed_diskor it forces a new resource to be created.
- DefaultTarget stringDisk Encryption Set Id 
- The ID of the default Disk Encryption Set that should be used for the disks when a failover is done. - Note: Changing - default_target_disk_encryption_set_idforces a new resource to be created. But removing it does not.- Note: When - default_target_disk_encryption_set_idco-exist with- managed_disk, the value of- default_target_disk_encryption_set_idmust be as same as- target_disk_encryption_set_idof every- managed_diskor it forces a new resource to be created.
- LicenseType string
- The license type of the VM. Possible values are NoLicenseType,NotSpecifiedandWindowsServer. Defaults toNotSpecified.
- ManagedDisks List<VmwareReplicated Vm Managed Disk> 
- One or more - managed_diskblock as defined below. It's available only if mobility service is already installed on the source VM.- Note: A replicated VM could be created without - managed_diskblock, once the block has been specified, changing it expect removing it forces a new resource to be created.
- MultiVm stringGroup Name 
- Name of group in which all machines will replicate together and have shared crash consistent and app-consistent recovery points when failed over.
- Name string
- The name of the replicated VM. Changing this forces a new resource to be created.
- NetworkInterfaces List<VmwareReplicated Vm Network Interface> 
- One or more network_interfaceblock as defined below.
- TargetAvailability stringSet Id 
- The ID of availability set that the new VM should belong to when a failover is done.
- TargetBoot stringDiagnostics Storage Account Id 
- The ID of the storage account that should be used for boot diagnostics when a failover is done.
- TargetNetwork stringId 
- The ID of network to use when a failover is done. - Note: - target_network_idis required when- network_interfaceis specified.
- TargetProximity stringPlacement Group Id 
- The ID of Proximity Placement Group the new VM should belong to when a failover is done. - Note: Only one of - target_availability_set_idor- target_zonecan be specified.
- TargetVm stringSize 
- Size of the VM that should be created when a failover is done, such as Standard_F2. If it's not specified, it will automatically be set by detecting the source VM size.
- TargetZone string
- Specifies the Availability Zone where the Failover VM should exist.
- TestNetwork stringId 
- The ID of network to use when a test failover is done.
- ApplianceName string
- The name of VMWare appliance which handles the replication. Changing this forces a new resource to be created.
- PhysicalServer stringCredential Name 
- The name of the credential to access the source VM. Changing this forces a new resource to be created. More information about the credentials could be found here.
- RecoveryReplication stringPolicy Id 
- The ID of the policy to use for this replicated VM.
- RecoveryVault stringId 
- The ID of the Recovery Services Vault where the replicated VM is created.
- SourceVm stringName 
- The name of the source VM in VMWare. Changing this forces a new resource to be created.
- TargetResource stringGroup Id 
- The ID of resource group where the VM should be created when a failover is done.
- TargetVm stringName 
- Name of the VM that should be created when a failover is done. Changing this forces a new resource to be created.
- DefaultLog stringStorage Account Id 
- The ID of the stroage account that should be used for logging during replication. - Note: Only standard types of storage accounts are allowed. - Note: Only one of - default_log_storage_account_idor- managed_diskmust be specified.- Note: Changing - default_log_storage_account_idforces a new resource to be created. But removing it does not.- Note: When - default_log_storage_account_idco-exist with- managed_disk, the value of- default_log_storage_account_idmust be as same as- log_storage_account_idof every- managed_diskor it forces a new resource to be created.
- DefaultRecovery stringDisk Type 
- The type of storage account that should be used for recovery disks when a failover is done. Possible values are - Premium_LRS,- Standard_LRSand- StandardSSD_LRS.- Note: Only one of - default_recovery_disk_typeor- managed_diskmust be specified.- Note: Changing - default_recovery_disk_typeforces a new resource to be created. But removing it does not.- Note: When - default_recovery_disk_typeco-exist with- managed_disk, the value of- default_recovery_disk_typemust be as same as- target_disk_typeof every- managed_diskor it forces a new resource to be created.
- DefaultTarget stringDisk Encryption Set Id 
- The ID of the default Disk Encryption Set that should be used for the disks when a failover is done. - Note: Changing - default_target_disk_encryption_set_idforces a new resource to be created. But removing it does not.- Note: When - default_target_disk_encryption_set_idco-exist with- managed_disk, the value of- default_target_disk_encryption_set_idmust be as same as- target_disk_encryption_set_idof every- managed_diskor it forces a new resource to be created.
- LicenseType string
- The license type of the VM. Possible values are NoLicenseType,NotSpecifiedandWindowsServer. Defaults toNotSpecified.
- ManagedDisks []VmwareReplicated Vm Managed Disk Args 
- One or more - managed_diskblock as defined below. It's available only if mobility service is already installed on the source VM.- Note: A replicated VM could be created without - managed_diskblock, once the block has been specified, changing it expect removing it forces a new resource to be created.
- MultiVm stringGroup Name 
- Name of group in which all machines will replicate together and have shared crash consistent and app-consistent recovery points when failed over.
- Name string
- The name of the replicated VM. Changing this forces a new resource to be created.
- NetworkInterfaces []VmwareReplicated Vm Network Interface Args 
- One or more network_interfaceblock as defined below.
- TargetAvailability stringSet Id 
- The ID of availability set that the new VM should belong to when a failover is done.
- TargetBoot stringDiagnostics Storage Account Id 
- The ID of the storage account that should be used for boot diagnostics when a failover is done.
- TargetNetwork stringId 
- The ID of network to use when a failover is done. - Note: - target_network_idis required when- network_interfaceis specified.
- TargetProximity stringPlacement Group Id 
- The ID of Proximity Placement Group the new VM should belong to when a failover is done. - Note: Only one of - target_availability_set_idor- target_zonecan be specified.
- TargetVm stringSize 
- Size of the VM that should be created when a failover is done, such as Standard_F2. If it's not specified, it will automatically be set by detecting the source VM size.
- TargetZone string
- Specifies the Availability Zone where the Failover VM should exist.
- TestNetwork stringId 
- The ID of network to use when a test failover is done.
- applianceName String
- The name of VMWare appliance which handles the replication. Changing this forces a new resource to be created.
- physicalServer StringCredential Name 
- The name of the credential to access the source VM. Changing this forces a new resource to be created. More information about the credentials could be found here.
- recoveryReplication StringPolicy Id 
- The ID of the policy to use for this replicated VM.
- recoveryVault StringId 
- The ID of the Recovery Services Vault where the replicated VM is created.
- sourceVm StringName 
- The name of the source VM in VMWare. Changing this forces a new resource to be created.
- targetResource StringGroup Id 
- The ID of resource group where the VM should be created when a failover is done.
- targetVm StringName 
- Name of the VM that should be created when a failover is done. Changing this forces a new resource to be created.
- defaultLog StringStorage Account Id 
- The ID of the stroage account that should be used for logging during replication. - Note: Only standard types of storage accounts are allowed. - Note: Only one of - default_log_storage_account_idor- managed_diskmust be specified.- Note: Changing - default_log_storage_account_idforces a new resource to be created. But removing it does not.- Note: When - default_log_storage_account_idco-exist with- managed_disk, the value of- default_log_storage_account_idmust be as same as- log_storage_account_idof every- managed_diskor it forces a new resource to be created.
- defaultRecovery StringDisk Type 
- The type of storage account that should be used for recovery disks when a failover is done. Possible values are - Premium_LRS,- Standard_LRSand- StandardSSD_LRS.- Note: Only one of - default_recovery_disk_typeor- managed_diskmust be specified.- Note: Changing - default_recovery_disk_typeforces a new resource to be created. But removing it does not.- Note: When - default_recovery_disk_typeco-exist with- managed_disk, the value of- default_recovery_disk_typemust be as same as- target_disk_typeof every- managed_diskor it forces a new resource to be created.
- defaultTarget StringDisk Encryption Set Id 
- The ID of the default Disk Encryption Set that should be used for the disks when a failover is done. - Note: Changing - default_target_disk_encryption_set_idforces a new resource to be created. But removing it does not.- Note: When - default_target_disk_encryption_set_idco-exist with- managed_disk, the value of- default_target_disk_encryption_set_idmust be as same as- target_disk_encryption_set_idof every- managed_diskor it forces a new resource to be created.
- licenseType String
- The license type of the VM. Possible values are NoLicenseType,NotSpecifiedandWindowsServer. Defaults toNotSpecified.
- managedDisks List<VmwareReplicated Vm Managed Disk> 
- One or more - managed_diskblock as defined below. It's available only if mobility service is already installed on the source VM.- Note: A replicated VM could be created without - managed_diskblock, once the block has been specified, changing it expect removing it forces a new resource to be created.
- multiVm StringGroup Name 
- Name of group in which all machines will replicate together and have shared crash consistent and app-consistent recovery points when failed over.
- name String
- The name of the replicated VM. Changing this forces a new resource to be created.
- networkInterfaces List<VmwareReplicated Vm Network Interface> 
- One or more network_interfaceblock as defined below.
- targetAvailability StringSet Id 
- The ID of availability set that the new VM should belong to when a failover is done.
- targetBoot StringDiagnostics Storage Account Id 
- The ID of the storage account that should be used for boot diagnostics when a failover is done.
- targetNetwork StringId 
- The ID of network to use when a failover is done. - Note: - target_network_idis required when- network_interfaceis specified.
- targetProximity StringPlacement Group Id 
- The ID of Proximity Placement Group the new VM should belong to when a failover is done. - Note: Only one of - target_availability_set_idor- target_zonecan be specified.
- targetVm StringSize 
- Size of the VM that should be created when a failover is done, such as Standard_F2. If it's not specified, it will automatically be set by detecting the source VM size.
- targetZone String
- Specifies the Availability Zone where the Failover VM should exist.
- testNetwork StringId 
- The ID of network to use when a test failover is done.
- applianceName string
- The name of VMWare appliance which handles the replication. Changing this forces a new resource to be created.
- physicalServer stringCredential Name 
- The name of the credential to access the source VM. Changing this forces a new resource to be created. More information about the credentials could be found here.
- recoveryReplication stringPolicy Id 
- The ID of the policy to use for this replicated VM.
- recoveryVault stringId 
- The ID of the Recovery Services Vault where the replicated VM is created.
- sourceVm stringName 
- The name of the source VM in VMWare. Changing this forces a new resource to be created.
- targetResource stringGroup Id 
- The ID of resource group where the VM should be created when a failover is done.
- targetVm stringName 
- Name of the VM that should be created when a failover is done. Changing this forces a new resource to be created.
- defaultLog stringStorage Account Id 
- The ID of the stroage account that should be used for logging during replication. - Note: Only standard types of storage accounts are allowed. - Note: Only one of - default_log_storage_account_idor- managed_diskmust be specified.- Note: Changing - default_log_storage_account_idforces a new resource to be created. But removing it does not.- Note: When - default_log_storage_account_idco-exist with- managed_disk, the value of- default_log_storage_account_idmust be as same as- log_storage_account_idof every- managed_diskor it forces a new resource to be created.
- defaultRecovery stringDisk Type 
- The type of storage account that should be used for recovery disks when a failover is done. Possible values are - Premium_LRS,- Standard_LRSand- StandardSSD_LRS.- Note: Only one of - default_recovery_disk_typeor- managed_diskmust be specified.- Note: Changing - default_recovery_disk_typeforces a new resource to be created. But removing it does not.- Note: When - default_recovery_disk_typeco-exist with- managed_disk, the value of- default_recovery_disk_typemust be as same as- target_disk_typeof every- managed_diskor it forces a new resource to be created.
- defaultTarget stringDisk Encryption Set Id 
- The ID of the default Disk Encryption Set that should be used for the disks when a failover is done. - Note: Changing - default_target_disk_encryption_set_idforces a new resource to be created. But removing it does not.- Note: When - default_target_disk_encryption_set_idco-exist with- managed_disk, the value of- default_target_disk_encryption_set_idmust be as same as- target_disk_encryption_set_idof every- managed_diskor it forces a new resource to be created.
- licenseType string
- The license type of the VM. Possible values are NoLicenseType,NotSpecifiedandWindowsServer. Defaults toNotSpecified.
- managedDisks VmwareReplicated Vm Managed Disk[] 
- One or more - managed_diskblock as defined below. It's available only if mobility service is already installed on the source VM.- Note: A replicated VM could be created without - managed_diskblock, once the block has been specified, changing it expect removing it forces a new resource to be created.
- multiVm stringGroup Name 
- Name of group in which all machines will replicate together and have shared crash consistent and app-consistent recovery points when failed over.
- name string
- The name of the replicated VM. Changing this forces a new resource to be created.
- networkInterfaces VmwareReplicated Vm Network Interface[] 
- One or more network_interfaceblock as defined below.
- targetAvailability stringSet Id 
- The ID of availability set that the new VM should belong to when a failover is done.
- targetBoot stringDiagnostics Storage Account Id 
- The ID of the storage account that should be used for boot diagnostics when a failover is done.
- targetNetwork stringId 
- The ID of network to use when a failover is done. - Note: - target_network_idis required when- network_interfaceis specified.
- targetProximity stringPlacement Group Id 
- The ID of Proximity Placement Group the new VM should belong to when a failover is done. - Note: Only one of - target_availability_set_idor- target_zonecan be specified.
- targetVm stringSize 
- Size of the VM that should be created when a failover is done, such as Standard_F2. If it's not specified, it will automatically be set by detecting the source VM size.
- targetZone string
- Specifies the Availability Zone where the Failover VM should exist.
- testNetwork stringId 
- The ID of network to use when a test failover is done.
- appliance_name str
- The name of VMWare appliance which handles the replication. Changing this forces a new resource to be created.
- physical_server_ strcredential_ name 
- The name of the credential to access the source VM. Changing this forces a new resource to be created. More information about the credentials could be found here.
- recovery_replication_ strpolicy_ id 
- The ID of the policy to use for this replicated VM.
- recovery_vault_ strid 
- The ID of the Recovery Services Vault where the replicated VM is created.
- source_vm_ strname 
- The name of the source VM in VMWare. Changing this forces a new resource to be created.
- target_resource_ strgroup_ id 
- The ID of resource group where the VM should be created when a failover is done.
- target_vm_ strname 
- Name of the VM that should be created when a failover is done. Changing this forces a new resource to be created.
- default_log_ strstorage_ account_ id 
- The ID of the stroage account that should be used for logging during replication. - Note: Only standard types of storage accounts are allowed. - Note: Only one of - default_log_storage_account_idor- managed_diskmust be specified.- Note: Changing - default_log_storage_account_idforces a new resource to be created. But removing it does not.- Note: When - default_log_storage_account_idco-exist with- managed_disk, the value of- default_log_storage_account_idmust be as same as- log_storage_account_idof every- managed_diskor it forces a new resource to be created.
- default_recovery_ strdisk_ type 
- The type of storage account that should be used for recovery disks when a failover is done. Possible values are - Premium_LRS,- Standard_LRSand- StandardSSD_LRS.- Note: Only one of - default_recovery_disk_typeor- managed_diskmust be specified.- Note: Changing - default_recovery_disk_typeforces a new resource to be created. But removing it does not.- Note: When - default_recovery_disk_typeco-exist with- managed_disk, the value of- default_recovery_disk_typemust be as same as- target_disk_typeof every- managed_diskor it forces a new resource to be created.
- default_target_ strdisk_ encryption_ set_ id 
- The ID of the default Disk Encryption Set that should be used for the disks when a failover is done. - Note: Changing - default_target_disk_encryption_set_idforces a new resource to be created. But removing it does not.- Note: When - default_target_disk_encryption_set_idco-exist with- managed_disk, the value of- default_target_disk_encryption_set_idmust be as same as- target_disk_encryption_set_idof every- managed_diskor it forces a new resource to be created.
- license_type str
- The license type of the VM. Possible values are NoLicenseType,NotSpecifiedandWindowsServer. Defaults toNotSpecified.
- managed_disks Sequence[VmwareReplicated Vm Managed Disk Args] 
- One or more - managed_diskblock as defined below. It's available only if mobility service is already installed on the source VM.- Note: A replicated VM could be created without - managed_diskblock, once the block has been specified, changing it expect removing it forces a new resource to be created.
- multi_vm_ strgroup_ name 
- Name of group in which all machines will replicate together and have shared crash consistent and app-consistent recovery points when failed over.
- name str
- The name of the replicated VM. Changing this forces a new resource to be created.
- network_interfaces Sequence[VmwareReplicated Vm Network Interface Args] 
- One or more network_interfaceblock as defined below.
- target_availability_ strset_ id 
- The ID of availability set that the new VM should belong to when a failover is done.
- target_boot_ strdiagnostics_ storage_ account_ id 
- The ID of the storage account that should be used for boot diagnostics when a failover is done.
- target_network_ strid 
- The ID of network to use when a failover is done. - Note: - target_network_idis required when- network_interfaceis specified.
- target_proximity_ strplacement_ group_ id 
- The ID of Proximity Placement Group the new VM should belong to when a failover is done. - Note: Only one of - target_availability_set_idor- target_zonecan be specified.
- target_vm_ strsize 
- Size of the VM that should be created when a failover is done, such as Standard_F2. If it's not specified, it will automatically be set by detecting the source VM size.
- target_zone str
- Specifies the Availability Zone where the Failover VM should exist.
- test_network_ strid 
- The ID of network to use when a test failover is done.
- applianceName String
- The name of VMWare appliance which handles the replication. Changing this forces a new resource to be created.
- physicalServer StringCredential Name 
- The name of the credential to access the source VM. Changing this forces a new resource to be created. More information about the credentials could be found here.
- recoveryReplication StringPolicy Id 
- The ID of the policy to use for this replicated VM.
- recoveryVault StringId 
- The ID of the Recovery Services Vault where the replicated VM is created.
- sourceVm StringName 
- The name of the source VM in VMWare. Changing this forces a new resource to be created.
- targetResource StringGroup Id 
- The ID of resource group where the VM should be created when a failover is done.
- targetVm StringName 
- Name of the VM that should be created when a failover is done. Changing this forces a new resource to be created.
- defaultLog StringStorage Account Id 
- The ID of the stroage account that should be used for logging during replication. - Note: Only standard types of storage accounts are allowed. - Note: Only one of - default_log_storage_account_idor- managed_diskmust be specified.- Note: Changing - default_log_storage_account_idforces a new resource to be created. But removing it does not.- Note: When - default_log_storage_account_idco-exist with- managed_disk, the value of- default_log_storage_account_idmust be as same as- log_storage_account_idof every- managed_diskor it forces a new resource to be created.
- defaultRecovery StringDisk Type 
- The type of storage account that should be used for recovery disks when a failover is done. Possible values are - Premium_LRS,- Standard_LRSand- StandardSSD_LRS.- Note: Only one of - default_recovery_disk_typeor- managed_diskmust be specified.- Note: Changing - default_recovery_disk_typeforces a new resource to be created. But removing it does not.- Note: When - default_recovery_disk_typeco-exist with- managed_disk, the value of- default_recovery_disk_typemust be as same as- target_disk_typeof every- managed_diskor it forces a new resource to be created.
- defaultTarget StringDisk Encryption Set Id 
- The ID of the default Disk Encryption Set that should be used for the disks when a failover is done. - Note: Changing - default_target_disk_encryption_set_idforces a new resource to be created. But removing it does not.- Note: When - default_target_disk_encryption_set_idco-exist with- managed_disk, the value of- default_target_disk_encryption_set_idmust be as same as- target_disk_encryption_set_idof every- managed_diskor it forces a new resource to be created.
- licenseType String
- The license type of the VM. Possible values are NoLicenseType,NotSpecifiedandWindowsServer. Defaults toNotSpecified.
- managedDisks List<Property Map>
- One or more - managed_diskblock as defined below. It's available only if mobility service is already installed on the source VM.- Note: A replicated VM could be created without - managed_diskblock, once the block has been specified, changing it expect removing it forces a new resource to be created.
- multiVm StringGroup Name 
- Name of group in which all machines will replicate together and have shared crash consistent and app-consistent recovery points when failed over.
- name String
- The name of the replicated VM. Changing this forces a new resource to be created.
- networkInterfaces List<Property Map>
- One or more network_interfaceblock as defined below.
- targetAvailability StringSet Id 
- The ID of availability set that the new VM should belong to when a failover is done.
- targetBoot StringDiagnostics Storage Account Id 
- The ID of the storage account that should be used for boot diagnostics when a failover is done.
- targetNetwork StringId 
- The ID of network to use when a failover is done. - Note: - target_network_idis required when- network_interfaceis specified.
- targetProximity StringPlacement Group Id 
- The ID of Proximity Placement Group the new VM should belong to when a failover is done. - Note: Only one of - target_availability_set_idor- target_zonecan be specified.
- targetVm StringSize 
- Size of the VM that should be created when a failover is done, such as Standard_F2. If it's not specified, it will automatically be set by detecting the source VM size.
- targetZone String
- Specifies the Availability Zone where the Failover VM should exist.
- testNetwork StringId 
- The ID of network to use when a test failover is done.
Outputs
All input properties are implicitly available as output properties. Additionally, the VmwareReplicatedVm resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing VmwareReplicatedVm Resource
Get an existing VmwareReplicatedVm resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VmwareReplicatedVmState, opts?: CustomResourceOptions): VmwareReplicatedVm@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        appliance_name: Optional[str] = None,
        default_log_storage_account_id: Optional[str] = None,
        default_recovery_disk_type: Optional[str] = None,
        default_target_disk_encryption_set_id: Optional[str] = None,
        license_type: Optional[str] = None,
        managed_disks: Optional[Sequence[VmwareReplicatedVmManagedDiskArgs]] = None,
        multi_vm_group_name: Optional[str] = None,
        name: Optional[str] = None,
        network_interfaces: Optional[Sequence[VmwareReplicatedVmNetworkInterfaceArgs]] = None,
        physical_server_credential_name: Optional[str] = None,
        recovery_replication_policy_id: Optional[str] = None,
        recovery_vault_id: Optional[str] = None,
        source_vm_name: Optional[str] = None,
        target_availability_set_id: Optional[str] = None,
        target_boot_diagnostics_storage_account_id: Optional[str] = None,
        target_network_id: Optional[str] = None,
        target_proximity_placement_group_id: Optional[str] = None,
        target_resource_group_id: Optional[str] = None,
        target_vm_name: Optional[str] = None,
        target_vm_size: Optional[str] = None,
        target_zone: Optional[str] = None,
        test_network_id: Optional[str] = None) -> VmwareReplicatedVmfunc GetVmwareReplicatedVm(ctx *Context, name string, id IDInput, state *VmwareReplicatedVmState, opts ...ResourceOption) (*VmwareReplicatedVm, error)public static VmwareReplicatedVm Get(string name, Input<string> id, VmwareReplicatedVmState? state, CustomResourceOptions? opts = null)public static VmwareReplicatedVm get(String name, Output<String> id, VmwareReplicatedVmState state, CustomResourceOptions options)resources:  _:    type: azure:siterecovery:VmwareReplicatedVm    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- ApplianceName string
- The name of VMWare appliance which handles the replication. Changing this forces a new resource to be created.
- DefaultLog stringStorage Account Id 
- The ID of the stroage account that should be used for logging during replication. - Note: Only standard types of storage accounts are allowed. - Note: Only one of - default_log_storage_account_idor- managed_diskmust be specified.- Note: Changing - default_log_storage_account_idforces a new resource to be created. But removing it does not.- Note: When - default_log_storage_account_idco-exist with- managed_disk, the value of- default_log_storage_account_idmust be as same as- log_storage_account_idof every- managed_diskor it forces a new resource to be created.
- DefaultRecovery stringDisk Type 
- The type of storage account that should be used for recovery disks when a failover is done. Possible values are - Premium_LRS,- Standard_LRSand- StandardSSD_LRS.- Note: Only one of - default_recovery_disk_typeor- managed_diskmust be specified.- Note: Changing - default_recovery_disk_typeforces a new resource to be created. But removing it does not.- Note: When - default_recovery_disk_typeco-exist with- managed_disk, the value of- default_recovery_disk_typemust be as same as- target_disk_typeof every- managed_diskor it forces a new resource to be created.
- DefaultTarget stringDisk Encryption Set Id 
- The ID of the default Disk Encryption Set that should be used for the disks when a failover is done. - Note: Changing - default_target_disk_encryption_set_idforces a new resource to be created. But removing it does not.- Note: When - default_target_disk_encryption_set_idco-exist with- managed_disk, the value of- default_target_disk_encryption_set_idmust be as same as- target_disk_encryption_set_idof every- managed_diskor it forces a new resource to be created.
- LicenseType string
- The license type of the VM. Possible values are NoLicenseType,NotSpecifiedandWindowsServer. Defaults toNotSpecified.
- ManagedDisks List<VmwareReplicated Vm Managed Disk> 
- One or more - managed_diskblock as defined below. It's available only if mobility service is already installed on the source VM.- Note: A replicated VM could be created without - managed_diskblock, once the block has been specified, changing it expect removing it forces a new resource to be created.
- MultiVm stringGroup Name 
- Name of group in which all machines will replicate together and have shared crash consistent and app-consistent recovery points when failed over.
- Name string
- The name of the replicated VM. Changing this forces a new resource to be created.
- NetworkInterfaces List<VmwareReplicated Vm Network Interface> 
- One or more network_interfaceblock as defined below.
- PhysicalServer stringCredential Name 
- The name of the credential to access the source VM. Changing this forces a new resource to be created. More information about the credentials could be found here.
- RecoveryReplication stringPolicy Id 
- The ID of the policy to use for this replicated VM.
- RecoveryVault stringId 
- The ID of the Recovery Services Vault where the replicated VM is created.
- SourceVm stringName 
- The name of the source VM in VMWare. Changing this forces a new resource to be created.
- TargetAvailability stringSet Id 
- The ID of availability set that the new VM should belong to when a failover is done.
- TargetBoot stringDiagnostics Storage Account Id 
- The ID of the storage account that should be used for boot diagnostics when a failover is done.
- TargetNetwork stringId 
- The ID of network to use when a failover is done. - Note: - target_network_idis required when- network_interfaceis specified.
- TargetProximity stringPlacement Group Id 
- The ID of Proximity Placement Group the new VM should belong to when a failover is done. - Note: Only one of - target_availability_set_idor- target_zonecan be specified.
- TargetResource stringGroup Id 
- The ID of resource group where the VM should be created when a failover is done.
- TargetVm stringName 
- Name of the VM that should be created when a failover is done. Changing this forces a new resource to be created.
- TargetVm stringSize 
- Size of the VM that should be created when a failover is done, such as Standard_F2. If it's not specified, it will automatically be set by detecting the source VM size.
- TargetZone string
- Specifies the Availability Zone where the Failover VM should exist.
- TestNetwork stringId 
- The ID of network to use when a test failover is done.
- ApplianceName string
- The name of VMWare appliance which handles the replication. Changing this forces a new resource to be created.
- DefaultLog stringStorage Account Id 
- The ID of the stroage account that should be used for logging during replication. - Note: Only standard types of storage accounts are allowed. - Note: Only one of - default_log_storage_account_idor- managed_diskmust be specified.- Note: Changing - default_log_storage_account_idforces a new resource to be created. But removing it does not.- Note: When - default_log_storage_account_idco-exist with- managed_disk, the value of- default_log_storage_account_idmust be as same as- log_storage_account_idof every- managed_diskor it forces a new resource to be created.
- DefaultRecovery stringDisk Type 
- The type of storage account that should be used for recovery disks when a failover is done. Possible values are - Premium_LRS,- Standard_LRSand- StandardSSD_LRS.- Note: Only one of - default_recovery_disk_typeor- managed_diskmust be specified.- Note: Changing - default_recovery_disk_typeforces a new resource to be created. But removing it does not.- Note: When - default_recovery_disk_typeco-exist with- managed_disk, the value of- default_recovery_disk_typemust be as same as- target_disk_typeof every- managed_diskor it forces a new resource to be created.
- DefaultTarget stringDisk Encryption Set Id 
- The ID of the default Disk Encryption Set that should be used for the disks when a failover is done. - Note: Changing - default_target_disk_encryption_set_idforces a new resource to be created. But removing it does not.- Note: When - default_target_disk_encryption_set_idco-exist with- managed_disk, the value of- default_target_disk_encryption_set_idmust be as same as- target_disk_encryption_set_idof every- managed_diskor it forces a new resource to be created.
- LicenseType string
- The license type of the VM. Possible values are NoLicenseType,NotSpecifiedandWindowsServer. Defaults toNotSpecified.
- ManagedDisks []VmwareReplicated Vm Managed Disk Args 
- One or more - managed_diskblock as defined below. It's available only if mobility service is already installed on the source VM.- Note: A replicated VM could be created without - managed_diskblock, once the block has been specified, changing it expect removing it forces a new resource to be created.
- MultiVm stringGroup Name 
- Name of group in which all machines will replicate together and have shared crash consistent and app-consistent recovery points when failed over.
- Name string
- The name of the replicated VM. Changing this forces a new resource to be created.
- NetworkInterfaces []VmwareReplicated Vm Network Interface Args 
- One or more network_interfaceblock as defined below.
- PhysicalServer stringCredential Name 
- The name of the credential to access the source VM. Changing this forces a new resource to be created. More information about the credentials could be found here.
- RecoveryReplication stringPolicy Id 
- The ID of the policy to use for this replicated VM.
- RecoveryVault stringId 
- The ID of the Recovery Services Vault where the replicated VM is created.
- SourceVm stringName 
- The name of the source VM in VMWare. Changing this forces a new resource to be created.
- TargetAvailability stringSet Id 
- The ID of availability set that the new VM should belong to when a failover is done.
- TargetBoot stringDiagnostics Storage Account Id 
- The ID of the storage account that should be used for boot diagnostics when a failover is done.
- TargetNetwork stringId 
- The ID of network to use when a failover is done. - Note: - target_network_idis required when- network_interfaceis specified.
- TargetProximity stringPlacement Group Id 
- The ID of Proximity Placement Group the new VM should belong to when a failover is done. - Note: Only one of - target_availability_set_idor- target_zonecan be specified.
- TargetResource stringGroup Id 
- The ID of resource group where the VM should be created when a failover is done.
- TargetVm stringName 
- Name of the VM that should be created when a failover is done. Changing this forces a new resource to be created.
- TargetVm stringSize 
- Size of the VM that should be created when a failover is done, such as Standard_F2. If it's not specified, it will automatically be set by detecting the source VM size.
- TargetZone string
- Specifies the Availability Zone where the Failover VM should exist.
- TestNetwork stringId 
- The ID of network to use when a test failover is done.
- applianceName String
- The name of VMWare appliance which handles the replication. Changing this forces a new resource to be created.
- defaultLog StringStorage Account Id 
- The ID of the stroage account that should be used for logging during replication. - Note: Only standard types of storage accounts are allowed. - Note: Only one of - default_log_storage_account_idor- managed_diskmust be specified.- Note: Changing - default_log_storage_account_idforces a new resource to be created. But removing it does not.- Note: When - default_log_storage_account_idco-exist with- managed_disk, the value of- default_log_storage_account_idmust be as same as- log_storage_account_idof every- managed_diskor it forces a new resource to be created.
- defaultRecovery StringDisk Type 
- The type of storage account that should be used for recovery disks when a failover is done. Possible values are - Premium_LRS,- Standard_LRSand- StandardSSD_LRS.- Note: Only one of - default_recovery_disk_typeor- managed_diskmust be specified.- Note: Changing - default_recovery_disk_typeforces a new resource to be created. But removing it does not.- Note: When - default_recovery_disk_typeco-exist with- managed_disk, the value of- default_recovery_disk_typemust be as same as- target_disk_typeof every- managed_diskor it forces a new resource to be created.
- defaultTarget StringDisk Encryption Set Id 
- The ID of the default Disk Encryption Set that should be used for the disks when a failover is done. - Note: Changing - default_target_disk_encryption_set_idforces a new resource to be created. But removing it does not.- Note: When - default_target_disk_encryption_set_idco-exist with- managed_disk, the value of- default_target_disk_encryption_set_idmust be as same as- target_disk_encryption_set_idof every- managed_diskor it forces a new resource to be created.
- licenseType String
- The license type of the VM. Possible values are NoLicenseType,NotSpecifiedandWindowsServer. Defaults toNotSpecified.
- managedDisks List<VmwareReplicated Vm Managed Disk> 
- One or more - managed_diskblock as defined below. It's available only if mobility service is already installed on the source VM.- Note: A replicated VM could be created without - managed_diskblock, once the block has been specified, changing it expect removing it forces a new resource to be created.
- multiVm StringGroup Name 
- Name of group in which all machines will replicate together and have shared crash consistent and app-consistent recovery points when failed over.
- name String
- The name of the replicated VM. Changing this forces a new resource to be created.
- networkInterfaces List<VmwareReplicated Vm Network Interface> 
- One or more network_interfaceblock as defined below.
- physicalServer StringCredential Name 
- The name of the credential to access the source VM. Changing this forces a new resource to be created. More information about the credentials could be found here.
- recoveryReplication StringPolicy Id 
- The ID of the policy to use for this replicated VM.
- recoveryVault StringId 
- The ID of the Recovery Services Vault where the replicated VM is created.
- sourceVm StringName 
- The name of the source VM in VMWare. Changing this forces a new resource to be created.
- targetAvailability StringSet Id 
- The ID of availability set that the new VM should belong to when a failover is done.
- targetBoot StringDiagnostics Storage Account Id 
- The ID of the storage account that should be used for boot diagnostics when a failover is done.
- targetNetwork StringId 
- The ID of network to use when a failover is done. - Note: - target_network_idis required when- network_interfaceis specified.
- targetProximity StringPlacement Group Id 
- The ID of Proximity Placement Group the new VM should belong to when a failover is done. - Note: Only one of - target_availability_set_idor- target_zonecan be specified.
- targetResource StringGroup Id 
- The ID of resource group where the VM should be created when a failover is done.
- targetVm StringName 
- Name of the VM that should be created when a failover is done. Changing this forces a new resource to be created.
- targetVm StringSize 
- Size of the VM that should be created when a failover is done, such as Standard_F2. If it's not specified, it will automatically be set by detecting the source VM size.
- targetZone String
- Specifies the Availability Zone where the Failover VM should exist.
- testNetwork StringId 
- The ID of network to use when a test failover is done.
- applianceName string
- The name of VMWare appliance which handles the replication. Changing this forces a new resource to be created.
- defaultLog stringStorage Account Id 
- The ID of the stroage account that should be used for logging during replication. - Note: Only standard types of storage accounts are allowed. - Note: Only one of - default_log_storage_account_idor- managed_diskmust be specified.- Note: Changing - default_log_storage_account_idforces a new resource to be created. But removing it does not.- Note: When - default_log_storage_account_idco-exist with- managed_disk, the value of- default_log_storage_account_idmust be as same as- log_storage_account_idof every- managed_diskor it forces a new resource to be created.
- defaultRecovery stringDisk Type 
- The type of storage account that should be used for recovery disks when a failover is done. Possible values are - Premium_LRS,- Standard_LRSand- StandardSSD_LRS.- Note: Only one of - default_recovery_disk_typeor- managed_diskmust be specified.- Note: Changing - default_recovery_disk_typeforces a new resource to be created. But removing it does not.- Note: When - default_recovery_disk_typeco-exist with- managed_disk, the value of- default_recovery_disk_typemust be as same as- target_disk_typeof every- managed_diskor it forces a new resource to be created.
- defaultTarget stringDisk Encryption Set Id 
- The ID of the default Disk Encryption Set that should be used for the disks when a failover is done. - Note: Changing - default_target_disk_encryption_set_idforces a new resource to be created. But removing it does not.- Note: When - default_target_disk_encryption_set_idco-exist with- managed_disk, the value of- default_target_disk_encryption_set_idmust be as same as- target_disk_encryption_set_idof every- managed_diskor it forces a new resource to be created.
- licenseType string
- The license type of the VM. Possible values are NoLicenseType,NotSpecifiedandWindowsServer. Defaults toNotSpecified.
- managedDisks VmwareReplicated Vm Managed Disk[] 
- One or more - managed_diskblock as defined below. It's available only if mobility service is already installed on the source VM.- Note: A replicated VM could be created without - managed_diskblock, once the block has been specified, changing it expect removing it forces a new resource to be created.
- multiVm stringGroup Name 
- Name of group in which all machines will replicate together and have shared crash consistent and app-consistent recovery points when failed over.
- name string
- The name of the replicated VM. Changing this forces a new resource to be created.
- networkInterfaces VmwareReplicated Vm Network Interface[] 
- One or more network_interfaceblock as defined below.
- physicalServer stringCredential Name 
- The name of the credential to access the source VM. Changing this forces a new resource to be created. More information about the credentials could be found here.
- recoveryReplication stringPolicy Id 
- The ID of the policy to use for this replicated VM.
- recoveryVault stringId 
- The ID of the Recovery Services Vault where the replicated VM is created.
- sourceVm stringName 
- The name of the source VM in VMWare. Changing this forces a new resource to be created.
- targetAvailability stringSet Id 
- The ID of availability set that the new VM should belong to when a failover is done.
- targetBoot stringDiagnostics Storage Account Id 
- The ID of the storage account that should be used for boot diagnostics when a failover is done.
- targetNetwork stringId 
- The ID of network to use when a failover is done. - Note: - target_network_idis required when- network_interfaceis specified.
- targetProximity stringPlacement Group Id 
- The ID of Proximity Placement Group the new VM should belong to when a failover is done. - Note: Only one of - target_availability_set_idor- target_zonecan be specified.
- targetResource stringGroup Id 
- The ID of resource group where the VM should be created when a failover is done.
- targetVm stringName 
- Name of the VM that should be created when a failover is done. Changing this forces a new resource to be created.
- targetVm stringSize 
- Size of the VM that should be created when a failover is done, such as Standard_F2. If it's not specified, it will automatically be set by detecting the source VM size.
- targetZone string
- Specifies the Availability Zone where the Failover VM should exist.
- testNetwork stringId 
- The ID of network to use when a test failover is done.
- appliance_name str
- The name of VMWare appliance which handles the replication. Changing this forces a new resource to be created.
- default_log_ strstorage_ account_ id 
- The ID of the stroage account that should be used for logging during replication. - Note: Only standard types of storage accounts are allowed. - Note: Only one of - default_log_storage_account_idor- managed_diskmust be specified.- Note: Changing - default_log_storage_account_idforces a new resource to be created. But removing it does not.- Note: When - default_log_storage_account_idco-exist with- managed_disk, the value of- default_log_storage_account_idmust be as same as- log_storage_account_idof every- managed_diskor it forces a new resource to be created.
- default_recovery_ strdisk_ type 
- The type of storage account that should be used for recovery disks when a failover is done. Possible values are - Premium_LRS,- Standard_LRSand- StandardSSD_LRS.- Note: Only one of - default_recovery_disk_typeor- managed_diskmust be specified.- Note: Changing - default_recovery_disk_typeforces a new resource to be created. But removing it does not.- Note: When - default_recovery_disk_typeco-exist with- managed_disk, the value of- default_recovery_disk_typemust be as same as- target_disk_typeof every- managed_diskor it forces a new resource to be created.
- default_target_ strdisk_ encryption_ set_ id 
- The ID of the default Disk Encryption Set that should be used for the disks when a failover is done. - Note: Changing - default_target_disk_encryption_set_idforces a new resource to be created. But removing it does not.- Note: When - default_target_disk_encryption_set_idco-exist with- managed_disk, the value of- default_target_disk_encryption_set_idmust be as same as- target_disk_encryption_set_idof every- managed_diskor it forces a new resource to be created.
- license_type str
- The license type of the VM. Possible values are NoLicenseType,NotSpecifiedandWindowsServer. Defaults toNotSpecified.
- managed_disks Sequence[VmwareReplicated Vm Managed Disk Args] 
- One or more - managed_diskblock as defined below. It's available only if mobility service is already installed on the source VM.- Note: A replicated VM could be created without - managed_diskblock, once the block has been specified, changing it expect removing it forces a new resource to be created.
- multi_vm_ strgroup_ name 
- Name of group in which all machines will replicate together and have shared crash consistent and app-consistent recovery points when failed over.
- name str
- The name of the replicated VM. Changing this forces a new resource to be created.
- network_interfaces Sequence[VmwareReplicated Vm Network Interface Args] 
- One or more network_interfaceblock as defined below.
- physical_server_ strcredential_ name 
- The name of the credential to access the source VM. Changing this forces a new resource to be created. More information about the credentials could be found here.
- recovery_replication_ strpolicy_ id 
- The ID of the policy to use for this replicated VM.
- recovery_vault_ strid 
- The ID of the Recovery Services Vault where the replicated VM is created.
- source_vm_ strname 
- The name of the source VM in VMWare. Changing this forces a new resource to be created.
- target_availability_ strset_ id 
- The ID of availability set that the new VM should belong to when a failover is done.
- target_boot_ strdiagnostics_ storage_ account_ id 
- The ID of the storage account that should be used for boot diagnostics when a failover is done.
- target_network_ strid 
- The ID of network to use when a failover is done. - Note: - target_network_idis required when- network_interfaceis specified.
- target_proximity_ strplacement_ group_ id 
- The ID of Proximity Placement Group the new VM should belong to when a failover is done. - Note: Only one of - target_availability_set_idor- target_zonecan be specified.
- target_resource_ strgroup_ id 
- The ID of resource group where the VM should be created when a failover is done.
- target_vm_ strname 
- Name of the VM that should be created when a failover is done. Changing this forces a new resource to be created.
- target_vm_ strsize 
- Size of the VM that should be created when a failover is done, such as Standard_F2. If it's not specified, it will automatically be set by detecting the source VM size.
- target_zone str
- Specifies the Availability Zone where the Failover VM should exist.
- test_network_ strid 
- The ID of network to use when a test failover is done.
- applianceName String
- The name of VMWare appliance which handles the replication. Changing this forces a new resource to be created.
- defaultLog StringStorage Account Id 
- The ID of the stroage account that should be used for logging during replication. - Note: Only standard types of storage accounts are allowed. - Note: Only one of - default_log_storage_account_idor- managed_diskmust be specified.- Note: Changing - default_log_storage_account_idforces a new resource to be created. But removing it does not.- Note: When - default_log_storage_account_idco-exist with- managed_disk, the value of- default_log_storage_account_idmust be as same as- log_storage_account_idof every- managed_diskor it forces a new resource to be created.
- defaultRecovery StringDisk Type 
- The type of storage account that should be used for recovery disks when a failover is done. Possible values are - Premium_LRS,- Standard_LRSand- StandardSSD_LRS.- Note: Only one of - default_recovery_disk_typeor- managed_diskmust be specified.- Note: Changing - default_recovery_disk_typeforces a new resource to be created. But removing it does not.- Note: When - default_recovery_disk_typeco-exist with- managed_disk, the value of- default_recovery_disk_typemust be as same as- target_disk_typeof every- managed_diskor it forces a new resource to be created.
- defaultTarget StringDisk Encryption Set Id 
- The ID of the default Disk Encryption Set that should be used for the disks when a failover is done. - Note: Changing - default_target_disk_encryption_set_idforces a new resource to be created. But removing it does not.- Note: When - default_target_disk_encryption_set_idco-exist with- managed_disk, the value of- default_target_disk_encryption_set_idmust be as same as- target_disk_encryption_set_idof every- managed_diskor it forces a new resource to be created.
- licenseType String
- The license type of the VM. Possible values are NoLicenseType,NotSpecifiedandWindowsServer. Defaults toNotSpecified.
- managedDisks List<Property Map>
- One or more - managed_diskblock as defined below. It's available only if mobility service is already installed on the source VM.- Note: A replicated VM could be created without - managed_diskblock, once the block has been specified, changing it expect removing it forces a new resource to be created.
- multiVm StringGroup Name 
- Name of group in which all machines will replicate together and have shared crash consistent and app-consistent recovery points when failed over.
- name String
- The name of the replicated VM. Changing this forces a new resource to be created.
- networkInterfaces List<Property Map>
- One or more network_interfaceblock as defined below.
- physicalServer StringCredential Name 
- The name of the credential to access the source VM. Changing this forces a new resource to be created. More information about the credentials could be found here.
- recoveryReplication StringPolicy Id 
- The ID of the policy to use for this replicated VM.
- recoveryVault StringId 
- The ID of the Recovery Services Vault where the replicated VM is created.
- sourceVm StringName 
- The name of the source VM in VMWare. Changing this forces a new resource to be created.
- targetAvailability StringSet Id 
- The ID of availability set that the new VM should belong to when a failover is done.
- targetBoot StringDiagnostics Storage Account Id 
- The ID of the storage account that should be used for boot diagnostics when a failover is done.
- targetNetwork StringId 
- The ID of network to use when a failover is done. - Note: - target_network_idis required when- network_interfaceis specified.
- targetProximity StringPlacement Group Id 
- The ID of Proximity Placement Group the new VM should belong to when a failover is done. - Note: Only one of - target_availability_set_idor- target_zonecan be specified.
- targetResource StringGroup Id 
- The ID of resource group where the VM should be created when a failover is done.
- targetVm StringName 
- Name of the VM that should be created when a failover is done. Changing this forces a new resource to be created.
- targetVm StringSize 
- Size of the VM that should be created when a failover is done, such as Standard_F2. If it's not specified, it will automatically be set by detecting the source VM size.
- targetZone String
- Specifies the Availability Zone where the Failover VM should exist.
- testNetwork StringId 
- The ID of network to use when a test failover is done.
Supporting Types
VmwareReplicatedVmManagedDisk, VmwareReplicatedVmManagedDiskArgs          
- DiskId string
- The ID of the disk to be replicated.
- TargetDisk stringType 
- The disk type of the disk to be created when a failover is done. Possible values are Premium_LRS,Standard_LRSandStandardSSD_LRS.
- LogStorage stringAccount Id 
- The ID of the storage account that should be used for logging during replication.
- TargetDisk stringEncryption Set Id 
- The ID of the Disk Encryption Set that should be used for the disks when a failover is done.
- DiskId string
- The ID of the disk to be replicated.
- TargetDisk stringType 
- The disk type of the disk to be created when a failover is done. Possible values are Premium_LRS,Standard_LRSandStandardSSD_LRS.
- LogStorage stringAccount Id 
- The ID of the storage account that should be used for logging during replication.
- TargetDisk stringEncryption Set Id 
- The ID of the Disk Encryption Set that should be used for the disks when a failover is done.
- diskId String
- The ID of the disk to be replicated.
- targetDisk StringType 
- The disk type of the disk to be created when a failover is done. Possible values are Premium_LRS,Standard_LRSandStandardSSD_LRS.
- logStorage StringAccount Id 
- The ID of the storage account that should be used for logging during replication.
- targetDisk StringEncryption Set Id 
- The ID of the Disk Encryption Set that should be used for the disks when a failover is done.
- diskId string
- The ID of the disk to be replicated.
- targetDisk stringType 
- The disk type of the disk to be created when a failover is done. Possible values are Premium_LRS,Standard_LRSandStandardSSD_LRS.
- logStorage stringAccount Id 
- The ID of the storage account that should be used for logging during replication.
- targetDisk stringEncryption Set Id 
- The ID of the Disk Encryption Set that should be used for the disks when a failover is done.
- disk_id str
- The ID of the disk to be replicated.
- target_disk_ strtype 
- The disk type of the disk to be created when a failover is done. Possible values are Premium_LRS,Standard_LRSandStandardSSD_LRS.
- log_storage_ straccount_ id 
- The ID of the storage account that should be used for logging during replication.
- target_disk_ strencryption_ set_ id 
- The ID of the Disk Encryption Set that should be used for the disks when a failover is done.
- diskId String
- The ID of the disk to be replicated.
- targetDisk StringType 
- The disk type of the disk to be created when a failover is done. Possible values are Premium_LRS,Standard_LRSandStandardSSD_LRS.
- logStorage StringAccount Id 
- The ID of the storage account that should be used for logging during replication.
- targetDisk StringEncryption Set Id 
- The ID of the Disk Encryption Set that should be used for the disks when a failover is done.
VmwareReplicatedVmNetworkInterface, VmwareReplicatedVmNetworkInterfaceArgs          
- IsPrimary bool
- Whether this network_interfaceis primary for the replicated VM.
- SourceMac stringAddress 
- Mac address of the network interface of source VM.
- TargetStatic stringIp 
- Static IP to assign when a failover is done.
- TargetSubnet stringName 
- Name of the subnet to use when a failover is done.
- TestSubnet stringName 
- Name of the subnet to use when a test failover is done.
- IsPrimary bool
- Whether this network_interfaceis primary for the replicated VM.
- SourceMac stringAddress 
- Mac address of the network interface of source VM.
- TargetStatic stringIp 
- Static IP to assign when a failover is done.
- TargetSubnet stringName 
- Name of the subnet to use when a failover is done.
- TestSubnet stringName 
- Name of the subnet to use when a test failover is done.
- isPrimary Boolean
- Whether this network_interfaceis primary for the replicated VM.
- sourceMac StringAddress 
- Mac address of the network interface of source VM.
- targetStatic StringIp 
- Static IP to assign when a failover is done.
- targetSubnet StringName 
- Name of the subnet to use when a failover is done.
- testSubnet StringName 
- Name of the subnet to use when a test failover is done.
- isPrimary boolean
- Whether this network_interfaceis primary for the replicated VM.
- sourceMac stringAddress 
- Mac address of the network interface of source VM.
- targetStatic stringIp 
- Static IP to assign when a failover is done.
- targetSubnet stringName 
- Name of the subnet to use when a failover is done.
- testSubnet stringName 
- Name of the subnet to use when a test failover is done.
- is_primary bool
- Whether this network_interfaceis primary for the replicated VM.
- source_mac_ straddress 
- Mac address of the network interface of source VM.
- target_static_ strip 
- Static IP to assign when a failover is done.
- target_subnet_ strname 
- Name of the subnet to use when a failover is done.
- test_subnet_ strname 
- Name of the subnet to use when a test failover is done.
- isPrimary Boolean
- Whether this network_interfaceis primary for the replicated VM.
- sourceMac StringAddress 
- Mac address of the network interface of source VM.
- targetStatic StringIp 
- Static IP to assign when a failover is done.
- targetSubnet StringName 
- Name of the subnet to use when a failover is done.
- testSubnet StringName 
- Name of the subnet to use when a test failover is done.
Import
Site Recovery VMWare Replicated VM’s can be imported using the resource id, e.g.
$ pulumi import azure:siterecovery/vmwareReplicatedVm:VmwareReplicatedVm vmreplication /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-group-name/providers/Microsoft.RecoveryServices/vaults/recovery-vault-name/replicationFabrics/fabric-name/replicationProtectionContainers/protection-container-name/replicationProtectedItems/vm-replication-name
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.
