Microsoft.RecoveryServices vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems 2016-08-10
- Latest
- 2024-04-01
- 2024-02-01
- 2024-01-01
- 2023-08-01
- 2023-06-01
- 2023-04-01
- 2023-02-01
- 2023-01-01
- 2022-10-01
- 2022-09-10
- 2022-08-01
- 2022-05-01
- 2022-04-01
- 2022-03-01
- 2022-02-01
- 2022-01-01
- 2021-12-01
- 2021-11-01
- 2021-10-01
- 2021-08-01
- 2021-07-01
- 2021-06-01
- 2021-04-01
- 2021-03-01
- 2021-02-10
- 2018-07-10
- 2018-01-10
- 2016-08-10
Bicep resource definition
The vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems@2016-08-10' = {
name: 'string'
parent: resourceSymbolicName
properties: {
policyId: 'string'
protectableItemId: 'string'
providerSpecificDetails: {
instanceType: 'string'
// For remaining properties, see EnableProtectionProviderSpecificInputOrReplicationProviderSpecificSettings objects
}
}
}
EnableProtectionProviderSpecificInputOrReplicationProviderSpecificSettings objects
Set the instanceType property to specify the type of object.
For A2A, use:
instanceType: 'A2A'
fabricObjectId: 'string'
recoveryAvailabilitySetId: 'string'
recoveryCloudServiceId: 'string'
recoveryContainerId: 'string'
recoveryResourceGroupId: 'string'
vmDisks: [
{
diskUri: 'string'
primaryStagingAzureStorageAccountId: 'string'
recoveryAzureStorageAccountId: 'string'
}
]
vmManagedDisks: [
{
diskId: 'string'
primaryStagingAzureStorageAccountId: 'string'
recoveryResourceGroupId: 'string'
}
]
For HyperVReplica2012, use:
instanceType: 'HyperVReplica2012'
For HyperVReplica2012R2, use:
instanceType: 'HyperVReplica2012R2'
For HyperVReplicaAzure, use:
instanceType: 'HyperVReplicaAzure'
disksToInclude: [
'string'
]
enableRDPOnTargetOption: 'string'
hvHostVmId: 'string'
logStorageAccountId: 'string'
osType: 'string'
targetAzureNetworkId: 'string'
targetAzureSubnetId: 'string'
targetAzureV1ResourceGroupId: 'string'
targetAzureV2ResourceGroupId: 'string'
targetAzureVmName: 'string'
targetStorageAccountId: 'string'
useManagedDisks: 'string'
vhdId: 'string'
vmName: 'string'
For HyperVReplicaBaseReplicationDetails, use:
instanceType: 'HyperVReplicaBaseReplicationDetails'
For InMage, use:
instanceType: 'InMage'
datastoreName: 'string'
diskExclusionInput: {
diskSignatureOptions: [
{
diskSignature: 'string'
}
]
volumeOptions: [
{
OnlyExcludeIfSingleVolume: 'string'
volumeLabel: 'string'
}
]
}
disksToInclude: [
'string'
]
masterTargetId: 'string'
multiVmGroupId: 'string'
multiVmGroupName: 'string'
processServerId: 'string'
retentionDrive: 'string'
runAsAccountId: 'string'
vmFriendlyName: 'string'
For InMageAzureV2, use:
instanceType: 'InMageAzureV2'
disksToInclude: [
'string'
]
enableRDPOnTargetOption: 'string'
logStorageAccountId: 'string'
masterTargetId: 'string'
multiVmGroupId: 'string'
multiVmGroupName: 'string'
processServerId: 'string'
runAsAccountId: 'string'
storageAccountId: 'string'
targetAzureNetworkId: 'string'
targetAzureSubnetId: 'string'
targetAzureV1ResourceGroupId: 'string'
targetAzureV2ResourceGroupId: 'string'
targetAzureVmName: 'string'
useManagedDisks: 'string'
For San, use:
instanceType: 'San'
Property values
vaults/replicationFabrics/replicationProtectionConta...
Name | Description | Value |
---|---|---|
name | The resource name See how to set names and types for child resources in Bicep. |
string (required) |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: replicationProtectionContainers |
properties | Enable protection input properties. | EnableProtectionInputPropertiesOrReplicationProtecte... |
EnableProtectionInputPropertiesOrReplicationProtecte...
Name | Description | Value |
---|---|---|
policyId | The Policy Id. | string |
protectableItemId | The protectable item Id. | string |
providerSpecificDetails | The ReplicationProviderInput. For HyperVReplicaAzure provider, it will be AzureEnableProtectionInput object. For San provider, it will be SanEnableProtectionInput object. For HyperVReplicaAzure provider, it can be null. | EnableProtectionProviderSpecificInputOrReplicationPr... |
EnableProtectionProviderSpecificInputOrReplicationPr...
Name | Description | Value |
---|---|---|
instanceType | Set the object type | A2A HyperVReplica2012 HyperVReplica2012R2 HyperVReplicaAzure HyperVReplicaBaseReplicationDetails InMage InMageAzureV2 San (required) |
A2AEnableProtectionInputOrA2AReplicationDetails
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'A2A' (required) |
fabricObjectId | The fabric specific object Id of the virtual machine. | string |
recoveryAvailabilitySetId | The recovery availability set Id. | string |
recoveryCloudServiceId | The recovery cloud service Id. Valid for V1 scenarios. | string |
recoveryContainerId | The recovery container Id. | string |
recoveryResourceGroupId | The recovery resource group Id. Valid for V2 scenarios. | string |
vmDisks | The list of vm disk details. | A2AVmDiskInputDetails[] |
vmManagedDisks | The list of vm managed disk details. | A2AVmManagedDiskInputDetails[] |
A2AVmDiskInputDetails
Name | Description | Value |
---|---|---|
diskUri | The disk Uri. | string |
primaryStagingAzureStorageAccountId | The primary staging storage account Id. | string |
recoveryAzureStorageAccountId | The recovery VHD storage account Id. | string |
A2AVmManagedDiskInputDetails
Name | Description | Value |
---|---|---|
diskId | The disk Id. | string |
primaryStagingAzureStorageAccountId | The primary staging storage account Arm Id. | string |
recoveryResourceGroupId | The target resource group Arm Id. | string |
HyperVReplicaReplicationDetails
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'HyperVReplica2012' (required) |
HyperVReplicaBlueReplicationDetails
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'HyperVReplica2012R2' (required) |
HyperVReplicaAzureEnableProtectionInputOrHyperVRepli...
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'HyperVReplicaAzure' (required) |
disksToInclude | The list of VHD IDs of disks to be protected. | string[] |
enableRDPOnTargetOption | The selected option to enable RDP\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum. | string |
hvHostVmId | The Hyper-V host Vm Id. | string |
logStorageAccountId | The storage account to be used for logging during replication. | string |
osType | The OS type associated with vm. | string |
targetAzureNetworkId | The selected target Azure network Id. | string |
targetAzureSubnetId | The selected target Azure subnet Id. | string |
targetAzureV1ResourceGroupId | The Id of the target resource group (for classic deployment) in which the failover VM is to be created. | string |
targetAzureV2ResourceGroupId | The Id of the target resource group (for resource manager deployment) in which the failover VM is to be created. | string |
targetAzureVmName | The target azure Vm Name. | string |
targetStorageAccountId | The storage account name. | string |
useManagedDisks | A value indicating whether managed disks should be used during failover. | string |
vhdId | The OS disk VHD id associated with vm. | string |
vmName | The Vm Name. | string |
HyperVReplicaBaseReplicationDetails
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'HyperVReplicaBaseReplicationDetails' (required) |
InMageEnableProtectionInputOrInMageReplicationDetail...
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'InMage' (required) |
datastoreName | The target data store name. | string |
diskExclusionInput | The enable disk exclusion input. | InMageDiskExclusionInput |
disksToInclude | The disks to include list. | string[] |
masterTargetId | The Master Target Id. | string (required) |
multiVmGroupId | The multi vm group Id. | string (required) |
multiVmGroupName | The multi vm group name. | string (required) |
processServerId | The Process Server Id. | string (required) |
retentionDrive | The retention drive to use on the MT. | string (required) |
runAsAccountId | The CS account Id. | string |
vmFriendlyName | The Vm Name. | string |
InMageDiskExclusionInput
Name | Description | Value |
---|---|---|
diskSignatureOptions | The guest disk signature based option for disk exclusion. | InMageDiskSignatureExclusionOptions[] |
volumeOptions | The volume label based option for disk exclusion. | InMageVolumeExclusionOptions[] |
InMageDiskSignatureExclusionOptions
Name | Description | Value |
---|---|---|
diskSignature | The guest signature of disk to be excluded from replication. | string |
InMageVolumeExclusionOptions
Name | Description | Value |
---|---|---|
OnlyExcludeIfSingleVolume | The value indicating whether to exclude multi volume disk or not. If a disk has multiple volumes and one of the volume has label matching with VolumeLabel this disk will be excluded from replication if OnlyExcludeIfSingleVolume is false. | string |
volumeLabel | The volume label. The disk having any volume with this label will be excluded from replication. | string |
InMageAzureV2EnableProtectionInputOrInMageAzureV2Rep...
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'InMageAzureV2' (required) |
disksToInclude | The disks to include list. | string[] |
enableRDPOnTargetOption | The selected option to enable RDP\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum. | string |
logStorageAccountId | The storage account to be used for logging during replication. | string |
masterTargetId | The Master target Id. | string |
multiVmGroupId | The multi vm group Id. | string |
multiVmGroupName | The multi vm group name. | string |
processServerId | The Process Server Id. | string |
runAsAccountId | The CS account Id. | string |
storageAccountId | The storage account name. | string (required) |
targetAzureNetworkId | The selected target Azure network Id. | string |
targetAzureSubnetId | The selected target Azure subnet Id. | string |
targetAzureV1ResourceGroupId | The Id of the target resource group (for classic deployment) in which the failover VM is to be created. | string |
targetAzureV2ResourceGroupId | The Id of the target resource group (for resource manager deployment) in which the failover VM is to be created. | string |
targetAzureVmName | The target azure Vm Name. | string |
useManagedDisks | A value indicating whether managed disks should be used during failover. | string |
SanEnableProtectionInput
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'San' (required) |
ARM template resource definition
The vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems resource, add the following JSON to your template.
{
"type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems",
"apiVersion": "2016-08-10",
"name": "string",
"properties": {
"policyId": "string",
"protectableItemId": "string",
"providerSpecificDetails": {
"instanceType": "string"
// For remaining properties, see EnableProtectionProviderSpecificInputOrReplicationProviderSpecificSettings objects
}
}
}
EnableProtectionProviderSpecificInputOrReplicationProviderSpecificSettings objects
Set the instanceType property to specify the type of object.
For A2A, use:
"instanceType": "A2A",
"fabricObjectId": "string",
"recoveryAvailabilitySetId": "string",
"recoveryCloudServiceId": "string",
"recoveryContainerId": "string",
"recoveryResourceGroupId": "string",
"vmDisks": [
{
"diskUri": "string",
"primaryStagingAzureStorageAccountId": "string",
"recoveryAzureStorageAccountId": "string"
}
],
"vmManagedDisks": [
{
"diskId": "string",
"primaryStagingAzureStorageAccountId": "string",
"recoveryResourceGroupId": "string"
}
]
For HyperVReplica2012, use:
"instanceType": "HyperVReplica2012"
For HyperVReplica2012R2, use:
"instanceType": "HyperVReplica2012R2"
For HyperVReplicaAzure, use:
"instanceType": "HyperVReplicaAzure",
"disksToInclude": [ "string" ],
"enableRDPOnTargetOption": "string",
"hvHostVmId": "string",
"logStorageAccountId": "string",
"osType": "string",
"targetAzureNetworkId": "string",
"targetAzureSubnetId": "string",
"targetAzureV1ResourceGroupId": "string",
"targetAzureV2ResourceGroupId": "string",
"targetAzureVmName": "string",
"targetStorageAccountId": "string",
"useManagedDisks": "string",
"vhdId": "string",
"vmName": "string"
For HyperVReplicaBaseReplicationDetails, use:
"instanceType": "HyperVReplicaBaseReplicationDetails"
For InMage, use:
"instanceType": "InMage",
"datastoreName": "string",
"diskExclusionInput": {
"diskSignatureOptions": [
{
"diskSignature": "string"
}
],
"volumeOptions": [
{
"OnlyExcludeIfSingleVolume": "string",
"volumeLabel": "string"
}
]
},
"disksToInclude": [ "string" ],
"masterTargetId": "string",
"multiVmGroupId": "string",
"multiVmGroupName": "string",
"processServerId": "string",
"retentionDrive": "string",
"runAsAccountId": "string",
"vmFriendlyName": "string"
For InMageAzureV2, use:
"instanceType": "InMageAzureV2",
"disksToInclude": [ "string" ],
"enableRDPOnTargetOption": "string",
"logStorageAccountId": "string",
"masterTargetId": "string",
"multiVmGroupId": "string",
"multiVmGroupName": "string",
"processServerId": "string",
"runAsAccountId": "string",
"storageAccountId": "string",
"targetAzureNetworkId": "string",
"targetAzureSubnetId": "string",
"targetAzureV1ResourceGroupId": "string",
"targetAzureV2ResourceGroupId": "string",
"targetAzureVmName": "string",
"useManagedDisks": "string"
For San, use:
"instanceType": "San"
Property values
vaults/replicationFabrics/replicationProtectionConta...
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems' |
apiVersion | The resource api version | '2016-08-10' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
properties | Enable protection input properties. | EnableProtectionInputPropertiesOrReplicationProtecte... |
EnableProtectionInputPropertiesOrReplicationProtecte...
Name | Description | Value |
---|---|---|
policyId | The Policy Id. | string |
protectableItemId | The protectable item Id. | string |
providerSpecificDetails | The ReplicationProviderInput. For HyperVReplicaAzure provider, it will be AzureEnableProtectionInput object. For San provider, it will be SanEnableProtectionInput object. For HyperVReplicaAzure provider, it can be null. | EnableProtectionProviderSpecificInputOrReplicationPr... |
EnableProtectionProviderSpecificInputOrReplicationPr...
Name | Description | Value |
---|---|---|
instanceType | Set the object type | A2A HyperVReplica2012 HyperVReplica2012R2 HyperVReplicaAzure HyperVReplicaBaseReplicationDetails InMage InMageAzureV2 San (required) |
A2AEnableProtectionInputOrA2AReplicationDetails
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'A2A' (required) |
fabricObjectId | The fabric specific object Id of the virtual machine. | string |
recoveryAvailabilitySetId | The recovery availability set Id. | string |
recoveryCloudServiceId | The recovery cloud service Id. Valid for V1 scenarios. | string |
recoveryContainerId | The recovery container Id. | string |
recoveryResourceGroupId | The recovery resource group Id. Valid for V2 scenarios. | string |
vmDisks | The list of vm disk details. | A2AVmDiskInputDetails[] |
vmManagedDisks | The list of vm managed disk details. | A2AVmManagedDiskInputDetails[] |
A2AVmDiskInputDetails
Name | Description | Value |
---|---|---|
diskUri | The disk Uri. | string |
primaryStagingAzureStorageAccountId | The primary staging storage account Id. | string |
recoveryAzureStorageAccountId | The recovery VHD storage account Id. | string |
A2AVmManagedDiskInputDetails
Name | Description | Value |
---|---|---|
diskId | The disk Id. | string |
primaryStagingAzureStorageAccountId | The primary staging storage account Arm Id. | string |
recoveryResourceGroupId | The target resource group Arm Id. | string |
HyperVReplicaReplicationDetails
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'HyperVReplica2012' (required) |
HyperVReplicaBlueReplicationDetails
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'HyperVReplica2012R2' (required) |
HyperVReplicaAzureEnableProtectionInputOrHyperVRepli...
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'HyperVReplicaAzure' (required) |
disksToInclude | The list of VHD IDs of disks to be protected. | string[] |
enableRDPOnTargetOption | The selected option to enable RDP\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum. | string |
hvHostVmId | The Hyper-V host Vm Id. | string |
logStorageAccountId | The storage account to be used for logging during replication. | string |
osType | The OS type associated with vm. | string |
targetAzureNetworkId | The selected target Azure network Id. | string |
targetAzureSubnetId | The selected target Azure subnet Id. | string |
targetAzureV1ResourceGroupId | The Id of the target resource group (for classic deployment) in which the failover VM is to be created. | string |
targetAzureV2ResourceGroupId | The Id of the target resource group (for resource manager deployment) in which the failover VM is to be created. | string |
targetAzureVmName | The target azure Vm Name. | string |
targetStorageAccountId | The storage account name. | string |
useManagedDisks | A value indicating whether managed disks should be used during failover. | string |
vhdId | The OS disk VHD id associated with vm. | string |
vmName | The Vm Name. | string |
HyperVReplicaBaseReplicationDetails
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'HyperVReplicaBaseReplicationDetails' (required) |
InMageEnableProtectionInputOrInMageReplicationDetail...
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'InMage' (required) |
datastoreName | The target data store name. | string |
diskExclusionInput | The enable disk exclusion input. | InMageDiskExclusionInput |
disksToInclude | The disks to include list. | string[] |
masterTargetId | The Master Target Id. | string (required) |
multiVmGroupId | The multi vm group Id. | string (required) |
multiVmGroupName | The multi vm group name. | string (required) |
processServerId | The Process Server Id. | string (required) |
retentionDrive | The retention drive to use on the MT. | string (required) |
runAsAccountId | The CS account Id. | string |
vmFriendlyName | The Vm Name. | string |
InMageDiskExclusionInput
Name | Description | Value |
---|---|---|
diskSignatureOptions | The guest disk signature based option for disk exclusion. | InMageDiskSignatureExclusionOptions[] |
volumeOptions | The volume label based option for disk exclusion. | InMageVolumeExclusionOptions[] |
InMageDiskSignatureExclusionOptions
Name | Description | Value |
---|---|---|
diskSignature | The guest signature of disk to be excluded from replication. | string |
InMageVolumeExclusionOptions
Name | Description | Value |
---|---|---|
OnlyExcludeIfSingleVolume | The value indicating whether to exclude multi volume disk or not. If a disk has multiple volumes and one of the volume has label matching with VolumeLabel this disk will be excluded from replication if OnlyExcludeIfSingleVolume is false. | string |
volumeLabel | The volume label. The disk having any volume with this label will be excluded from replication. | string |
InMageAzureV2EnableProtectionInputOrInMageAzureV2Rep...
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'InMageAzureV2' (required) |
disksToInclude | The disks to include list. | string[] |
enableRDPOnTargetOption | The selected option to enable RDP\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum. | string |
logStorageAccountId | The storage account to be used for logging during replication. | string |
masterTargetId | The Master target Id. | string |
multiVmGroupId | The multi vm group Id. | string |
multiVmGroupName | The multi vm group name. | string |
processServerId | The Process Server Id. | string |
runAsAccountId | The CS account Id. | string |
storageAccountId | The storage account name. | string (required) |
targetAzureNetworkId | The selected target Azure network Id. | string |
targetAzureSubnetId | The selected target Azure subnet Id. | string |
targetAzureV1ResourceGroupId | The Id of the target resource group (for classic deployment) in which the failover VM is to be created. | string |
targetAzureV2ResourceGroupId | The Id of the target resource group (for resource manager deployment) in which the failover VM is to be created. | string |
targetAzureVmName | The target azure Vm Name. | string |
useManagedDisks | A value indicating whether managed disks should be used during failover. | string |
SanEnableProtectionInput
Name | Description | Value |
---|---|---|
instanceType | The class type. | 'San' (required) |
Terraform (AzAPI provider) resource definition
The vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems@2016-08-10"
name = "string"
parent_id = "string"
body = jsonencode({
properties = {
policyId = "string"
protectableItemId = "string"
providerSpecificDetails = {
instanceType = "string"
// For remaining properties, see EnableProtectionProviderSpecificInputOrReplicationProviderSpecificSettings objects
}
}
})
}
EnableProtectionProviderSpecificInputOrReplicationProviderSpecificSettings objects
Set the instanceType property to specify the type of object.
For A2A, use:
instanceType = "A2A"
fabricObjectId = "string"
recoveryAvailabilitySetId = "string"
recoveryCloudServiceId = "string"
recoveryContainerId = "string"
recoveryResourceGroupId = "string"
vmDisks = [
{
diskUri = "string"
primaryStagingAzureStorageAccountId = "string"
recoveryAzureStorageAccountId = "string"
}
]
vmManagedDisks = [
{
diskId = "string"
primaryStagingAzureStorageAccountId = "string"
recoveryResourceGroupId = "string"
}
]
For HyperVReplica2012, use:
instanceType = "HyperVReplica2012"
For HyperVReplica2012R2, use:
instanceType = "HyperVReplica2012R2"
For HyperVReplicaAzure, use:
instanceType = "HyperVReplicaAzure"
disksToInclude = [
"string"
]
enableRDPOnTargetOption = "string"
hvHostVmId = "string"
logStorageAccountId = "string"
osType = "string"
targetAzureNetworkId = "string"
targetAzureSubnetId = "string"
targetAzureV1ResourceGroupId = "string"
targetAzureV2ResourceGroupId = "string"
targetAzureVmName = "string"
targetStorageAccountId = "string"
useManagedDisks = "string"
vhdId = "string"
vmName = "string"
For HyperVReplicaBaseReplicationDetails, use:
instanceType = "HyperVReplicaBaseReplicationDetails"
For InMage, use:
instanceType = "InMage"
datastoreName = "string"
diskExclusionInput = {
diskSignatureOptions = [
{
diskSignature = "string"
}
]
volumeOptions = [
{
OnlyExcludeIfSingleVolume = "string"
volumeLabel = "string"
}
]
}
disksToInclude = [
"string"
]
masterTargetId = "string"
multiVmGroupId = "string"
multiVmGroupName = "string"
processServerId = "string"
retentionDrive = "string"
runAsAccountId = "string"
vmFriendlyName = "string"
For InMageAzureV2, use:
instanceType = "InMageAzureV2"
disksToInclude = [
"string"
]
enableRDPOnTargetOption = "string"
logStorageAccountId = "string"
masterTargetId = "string"
multiVmGroupId = "string"
multiVmGroupName = "string"
processServerId = "string"
runAsAccountId = "string"
storageAccountId = "string"
targetAzureNetworkId = "string"
targetAzureSubnetId = "string"
targetAzureV1ResourceGroupId = "string"
targetAzureV2ResourceGroupId = "string"
targetAzureVmName = "string"
useManagedDisks = "string"
For San, use:
instanceType = "San"
Property values
vaults/replicationFabrics/replicationProtectionConta...
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems@2016-08-10" |
name | The resource name | string (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: replicationProtectionContainers |
properties | Enable protection input properties. | EnableProtectionInputPropertiesOrReplicationProtecte... |
EnableProtectionInputPropertiesOrReplicationProtecte...
Name | Description | Value |
---|---|---|
policyId | The Policy Id. | string |
protectableItemId | The protectable item Id. | string |
providerSpecificDetails | The ReplicationProviderInput. For HyperVReplicaAzure provider, it will be AzureEnableProtectionInput object. For San provider, it will be SanEnableProtectionInput object. For HyperVReplicaAzure provider, it can be null. | EnableProtectionProviderSpecificInputOrReplicationPr... |
EnableProtectionProviderSpecificInputOrReplicationPr...
Name | Description | Value |
---|---|---|
instanceType | Set the object type | A2A HyperVReplica2012 HyperVReplica2012R2 HyperVReplicaAzure HyperVReplicaBaseReplicationDetails InMage InMageAzureV2 San (required) |
A2AEnableProtectionInputOrA2AReplicationDetails
Name | Description | Value |
---|---|---|
instanceType | The class type. | "A2A" (required) |
fabricObjectId | The fabric specific object Id of the virtual machine. | string |
recoveryAvailabilitySetId | The recovery availability set Id. | string |
recoveryCloudServiceId | The recovery cloud service Id. Valid for V1 scenarios. | string |
recoveryContainerId | The recovery container Id. | string |
recoveryResourceGroupId | The recovery resource group Id. Valid for V2 scenarios. | string |
vmDisks | The list of vm disk details. | A2AVmDiskInputDetails[] |
vmManagedDisks | The list of vm managed disk details. | A2AVmManagedDiskInputDetails[] |
A2AVmDiskInputDetails
Name | Description | Value |
---|---|---|
diskUri | The disk Uri. | string |
primaryStagingAzureStorageAccountId | The primary staging storage account Id. | string |
recoveryAzureStorageAccountId | The recovery VHD storage account Id. | string |
A2AVmManagedDiskInputDetails
Name | Description | Value |
---|---|---|
diskId | The disk Id. | string |
primaryStagingAzureStorageAccountId | The primary staging storage account Arm Id. | string |
recoveryResourceGroupId | The target resource group Arm Id. | string |
HyperVReplicaReplicationDetails
Name | Description | Value |
---|---|---|
instanceType | The class type. | "HyperVReplica2012" (required) |
HyperVReplicaBlueReplicationDetails
Name | Description | Value |
---|---|---|
instanceType | The class type. | "HyperVReplica2012R2" (required) |
HyperVReplicaAzureEnableProtectionInputOrHyperVRepli...
Name | Description | Value |
---|---|---|
instanceType | The class type. | "HyperVReplicaAzure" (required) |
disksToInclude | The list of VHD IDs of disks to be protected. | string[] |
enableRDPOnTargetOption | The selected option to enable RDP\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum. | string |
hvHostVmId | The Hyper-V host Vm Id. | string |
logStorageAccountId | The storage account to be used for logging during replication. | string |
osType | The OS type associated with vm. | string |
targetAzureNetworkId | The selected target Azure network Id. | string |
targetAzureSubnetId | The selected target Azure subnet Id. | string |
targetAzureV1ResourceGroupId | The Id of the target resource group (for classic deployment) in which the failover VM is to be created. | string |
targetAzureV2ResourceGroupId | The Id of the target resource group (for resource manager deployment) in which the failover VM is to be created. | string |
targetAzureVmName | The target azure Vm Name. | string |
targetStorageAccountId | The storage account name. | string |
useManagedDisks | A value indicating whether managed disks should be used during failover. | string |
vhdId | The OS disk VHD id associated with vm. | string |
vmName | The Vm Name. | string |
HyperVReplicaBaseReplicationDetails
Name | Description | Value |
---|---|---|
instanceType | The class type. | "HyperVReplicaBaseReplicationDetails" (required) |
InMageEnableProtectionInputOrInMageReplicationDetail...
Name | Description | Value |
---|---|---|
instanceType | The class type. | "InMage" (required) |
datastoreName | The target data store name. | string |
diskExclusionInput | The enable disk exclusion input. | InMageDiskExclusionInput |
disksToInclude | The disks to include list. | string[] |
masterTargetId | The Master Target Id. | string (required) |
multiVmGroupId | The multi vm group Id. | string (required) |
multiVmGroupName | The multi vm group name. | string (required) |
processServerId | The Process Server Id. | string (required) |
retentionDrive | The retention drive to use on the MT. | string (required) |
runAsAccountId | The CS account Id. | string |
vmFriendlyName | The Vm Name. | string |
InMageDiskExclusionInput
Name | Description | Value |
---|---|---|
diskSignatureOptions | The guest disk signature based option for disk exclusion. | InMageDiskSignatureExclusionOptions[] |
volumeOptions | The volume label based option for disk exclusion. | InMageVolumeExclusionOptions[] |
InMageDiskSignatureExclusionOptions
Name | Description | Value |
---|---|---|
diskSignature | The guest signature of disk to be excluded from replication. | string |
InMageVolumeExclusionOptions
Name | Description | Value |
---|---|---|
OnlyExcludeIfSingleVolume | The value indicating whether to exclude multi volume disk or not. If a disk has multiple volumes and one of the volume has label matching with VolumeLabel this disk will be excluded from replication if OnlyExcludeIfSingleVolume is false. | string |
volumeLabel | The volume label. The disk having any volume with this label will be excluded from replication. | string |
InMageAzureV2EnableProtectionInputOrInMageAzureV2Rep...
Name | Description | Value |
---|---|---|
instanceType | The class type. | "InMageAzureV2" (required) |
disksToInclude | The disks to include list. | string[] |
enableRDPOnTargetOption | The selected option to enable RDP\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum. | string |
logStorageAccountId | The storage account to be used for logging during replication. | string |
masterTargetId | The Master target Id. | string |
multiVmGroupId | The multi vm group Id. | string |
multiVmGroupName | The multi vm group name. | string |
processServerId | The Process Server Id. | string |
runAsAccountId | The CS account Id. | string |
storageAccountId | The storage account name. | string (required) |
targetAzureNetworkId | The selected target Azure network Id. | string |
targetAzureSubnetId | The selected target Azure subnet Id. | string |
targetAzureV1ResourceGroupId | The Id of the target resource group (for classic deployment) in which the failover VM is to be created. | string |
targetAzureV2ResourceGroupId | The Id of the target resource group (for resource manager deployment) in which the failover VM is to be created. | string |
targetAzureVmName | The target azure Vm Name. | string |
useManagedDisks | A value indicating whether managed disks should be used during failover. | string |
SanEnableProtectionInput
Name | Description | Value |
---|---|---|
instanceType | The class type. | "San" (required) |