Microsoft.DataReplication replicationVaults/replicationExtensions 2024-09-01

Bicep resource definition

The replicationVaults/replicationExtensions resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.DataReplication/replicationVaults/replicationExtensions resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.DataReplication/replicationVaults/replicationExtensions@2024-09-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    customProperties: {
      instanceType: 'string'
      // For remaining properties, see ReplicationExtensionModelCustomProperties objects
    }
  }
}

ReplicationExtensionModelCustomProperties objects

Set the instanceType property to specify the type of object.

For HyperVToAzStackHCI, use:

{
  azStackHciFabricArmId: 'string'
  hyperVFabricArmId: 'string'
  instanceType: 'HyperVToAzStackHCI'
  storageAccountId: 'string'
  storageAccountSasSecretName: 'string'
}

For VMwareToAzStackHCI, use:

{
  azStackHciFabricArmId: 'string'
  instanceType: 'VMwareToAzStackHCI'
  storageAccountId: 'string'
  storageAccountSasSecretName: 'string'
  vmwareFabricArmId: 'string'
}

Property Values

Microsoft.DataReplication/replicationVaults/replicationExtensions

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9]*$ (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: replicationVaults
properties The resource-specific properties for this resource. ReplicationExtensionModelProperties

HyperVToAzStackHCIReplicationExtensionModelCustomProperties

Name Description Value
azStackHciFabricArmId Gets or sets the ARM Id of the target AzStackHCI fabric. string (required)
hyperVFabricArmId Gets or sets the ARM Id of the source HyperV fabric. string (required)
instanceType Discriminator property for ReplicationExtensionModelCustomProperties. 'HyperVToAzStackHCI' (required)
storageAccountId Gets or sets the storage account Id. string
storageAccountSasSecretName Gets or sets the Sas Secret of storage account. string

ReplicationExtensionModelCustomProperties

Name Description Value
instanceType Set to 'HyperVToAzStackHCI' for type HyperVToAzStackHCIReplicationExtensionModelCustomProperties. Set to 'VMwareToAzStackHCI' for type VMwareToAzStackHCIReplicationExtensionModelCustomProperties. 'HyperVToAzStackHCI'
'VMwareToAzStackHCI' (required)

ReplicationExtensionModelProperties

Name Description Value
customProperties Replication extension model custom properties. ReplicationExtensionModelCustomProperties (required)

VMwareToAzStackHCIReplicationExtensionModelCustomProperties

Name Description Value
azStackHciFabricArmId Gets or sets the ARM Id of the target AzStackHCI fabric. string (required)
instanceType Discriminator property for ReplicationExtensionModelCustomProperties. 'VMwareToAzStackHCI' (required)
storageAccountId Gets or sets the storage account Id. string
storageAccountSasSecretName Gets or sets the Sas Secret of storage account. string
vmwareFabricArmId Gets or sets the ARM Id of the source VMware fabric. string (required)

ARM template resource definition

The replicationVaults/replicationExtensions resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.DataReplication/replicationVaults/replicationExtensions resource, add the following JSON to your template.

{
  "type": "Microsoft.DataReplication/replicationVaults/replicationExtensions",
  "apiVersion": "2024-09-01",
  "name": "string",
  "properties": {
    "customProperties": {
      "instanceType": "string"
      // For remaining properties, see ReplicationExtensionModelCustomProperties objects
    }
  }
}

ReplicationExtensionModelCustomProperties objects

Set the instanceType property to specify the type of object.

For HyperVToAzStackHCI, use:

{
  "azStackHciFabricArmId": "string",
  "hyperVFabricArmId": "string",
  "instanceType": "HyperVToAzStackHCI",
  "storageAccountId": "string",
  "storageAccountSasSecretName": "string"
}

For VMwareToAzStackHCI, use:

{
  "azStackHciFabricArmId": "string",
  "instanceType": "VMwareToAzStackHCI",
  "storageAccountId": "string",
  "storageAccountSasSecretName": "string",
  "vmwareFabricArmId": "string"
}

Property Values

Microsoft.DataReplication/replicationVaults/replicationExtensions

Name Description Value
apiVersion The api version '2024-09-01'
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9]*$ (required)
properties The resource-specific properties for this resource. ReplicationExtensionModelProperties
type The resource type 'Microsoft.DataReplication/replicationVaults/replicationExtensions'

HyperVToAzStackHCIReplicationExtensionModelCustomProperties

Name Description Value
azStackHciFabricArmId Gets or sets the ARM Id of the target AzStackHCI fabric. string (required)
hyperVFabricArmId Gets or sets the ARM Id of the source HyperV fabric. string (required)
instanceType Discriminator property for ReplicationExtensionModelCustomProperties. 'HyperVToAzStackHCI' (required)
storageAccountId Gets or sets the storage account Id. string
storageAccountSasSecretName Gets or sets the Sas Secret of storage account. string

ReplicationExtensionModelCustomProperties

Name Description Value
instanceType Set to 'HyperVToAzStackHCI' for type HyperVToAzStackHCIReplicationExtensionModelCustomProperties. Set to 'VMwareToAzStackHCI' for type VMwareToAzStackHCIReplicationExtensionModelCustomProperties. 'HyperVToAzStackHCI'
'VMwareToAzStackHCI' (required)

ReplicationExtensionModelProperties

Name Description Value
customProperties Replication extension model custom properties. ReplicationExtensionModelCustomProperties (required)

VMwareToAzStackHCIReplicationExtensionModelCustomProperties

Name Description Value
azStackHciFabricArmId Gets or sets the ARM Id of the target AzStackHCI fabric. string (required)
instanceType Discriminator property for ReplicationExtensionModelCustomProperties. 'VMwareToAzStackHCI' (required)
storageAccountId Gets or sets the storage account Id. string
storageAccountSasSecretName Gets or sets the Sas Secret of storage account. string
vmwareFabricArmId Gets or sets the ARM Id of the source VMware fabric. string (required)

Terraform (AzAPI provider) resource definition

The replicationVaults/replicationExtensions 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.DataReplication/replicationVaults/replicationExtensions resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DataReplication/replicationVaults/replicationExtensions@2024-09-01"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      customProperties = {
        instanceType = "string"
        // For remaining properties, see ReplicationExtensionModelCustomProperties objects
      }
    }
  }
}

ReplicationExtensionModelCustomProperties objects

Set the instanceType property to specify the type of object.

For HyperVToAzStackHCI, use:

{
  azStackHciFabricArmId = "string"
  hyperVFabricArmId = "string"
  instanceType = "HyperVToAzStackHCI"
  storageAccountId = "string"
  storageAccountSasSecretName = "string"
}

For VMwareToAzStackHCI, use:

{
  azStackHciFabricArmId = "string"
  instanceType = "VMwareToAzStackHCI"
  storageAccountId = "string"
  storageAccountSasSecretName = "string"
  vmwareFabricArmId = "string"
}

Property Values

Microsoft.DataReplication/replicationVaults/replicationExtensions

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9]*$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: replicationVaults
properties The resource-specific properties for this resource. ReplicationExtensionModelProperties
type The resource type "Microsoft.DataReplication/replicationVaults/replicationExtensions@2024-09-01"

HyperVToAzStackHCIReplicationExtensionModelCustomProperties

Name Description Value
azStackHciFabricArmId Gets or sets the ARM Id of the target AzStackHCI fabric. string (required)
hyperVFabricArmId Gets or sets the ARM Id of the source HyperV fabric. string (required)
instanceType Discriminator property for ReplicationExtensionModelCustomProperties. 'HyperVToAzStackHCI' (required)
storageAccountId Gets or sets the storage account Id. string
storageAccountSasSecretName Gets or sets the Sas Secret of storage account. string

ReplicationExtensionModelCustomProperties

Name Description Value
instanceType Set to 'HyperVToAzStackHCI' for type HyperVToAzStackHCIReplicationExtensionModelCustomProperties. Set to 'VMwareToAzStackHCI' for type VMwareToAzStackHCIReplicationExtensionModelCustomProperties. 'HyperVToAzStackHCI'
'VMwareToAzStackHCI' (required)

ReplicationExtensionModelProperties

Name Description Value
customProperties Replication extension model custom properties. ReplicationExtensionModelCustomProperties (required)

VMwareToAzStackHCIReplicationExtensionModelCustomProperties

Name Description Value
azStackHciFabricArmId Gets or sets the ARM Id of the target AzStackHCI fabric. string (required)
instanceType Discriminator property for ReplicationExtensionModelCustomProperties. 'VMwareToAzStackHCI' (required)
storageAccountId Gets or sets the storage account Id. string
storageAccountSasSecretName Gets or sets the Sas Secret of storage account. string
vmwareFabricArmId Gets or sets the ARM Id of the source VMware fabric. string (required)