Delen via


Microsoft.RecoveryServices-kluizen/replicationFabrics/replicationNetworks/replicationNetworkMappings 2021-11-01

Bicep-resourcedefinitie

De kluizen/replicationFabrics/replicationNetworks/replicationNetworkMappings-resourcetype kunnen worden geïmplementeerd met bewerkingen die zijn gericht op:

Zie logboek wijzigenvoor een lijst met gewijzigde eigenschappen in elke API-versie.

Resource-indeling

Als u een Resource Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings wilt maken, voegt u de volgende Bicep toe aan uw sjabloon.

resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings@2021-11-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    fabricSpecificDetails: {
      instanceType: 'string'
      // For remaining properties, see FabricSpecificCreateNetworkMappingInput objects
    }
    recoveryFabricName: 'string'
    recoveryNetworkId: 'string'
  }
}

FabricSpecificCreateNetworkMappingInput-objecten

Stel de eigenschap instanceType in om het type object op te geven.

Gebruik voor AzureToAzure-:

{
  instanceType: 'AzureToAzure'
  primaryNetworkId: 'string'
}

Gebruik voor VmmToAzure:

{
  instanceType: 'VmmToAzure'
}

Gebruik voor VmmToVmm:

{
  instanceType: 'VmmToVmm'
}

Eigenschapswaarden

AzureToAzureCreateNetworkMappingInput

Naam Beschrijving Waarde
instanceType Het exemplaartype. 'AzureToAzure' (vereist)
primaryNetworkId De primaire Azure vnet-id. tekenreeks (vereist)

CreateNetworkMappingInputPropertiesOrNetworkMappingProperties

Naam Beschrijving Waarde
fabricSpecificDetails Infrastructuurspecifieke invoereigenschappen. FabricSpecificCreateNetworkMappingInput-
recoveryFabricName Naam van herstelinfrastructuur. snaar
recoveryNetworkId Herstelnetwerk-id. tekenreeks (vereist)

FabricSpecificCreateNetworkMappingInput

Naam Beschrijving Waarde
instanceType Ingesteld op 'AzureToAzure' voor het type AzureToAzureCreateNetworkMappingInput. Ingesteld op 'VmmToAzure' voor het type VmmToAzureCreateNetworkMappingInput. Ingesteld op VmmToVmm voor het type VmmToVmmCreateNetworkMappingInput. 'AzureToAzure'
'VmmToAzure'
'VmmToVmm' (vereist)

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings

Naam Beschrijving Waarde
naam De resourcenaam tekenreeks (vereist)
ouder In Bicep kunt u de bovenliggende resource voor een onderliggende resource opgeven. U hoeft deze eigenschap alleen toe te voegen wanneer de onderliggende resource buiten de bovenliggende resource wordt gedeclareerd.

Zie onderliggende resource buiten de bovenliggende resourcevoor meer informatie.
Symbolische naam voor resource van het type: kluizen/replicationFabrics/replicationNetworks
Eigenschappen Invoereigenschappen voor het maken van netwerktoewijzing. CreateNetworkMappingInputPropertiesOrNetworkMappingProperties (vereist)

VmmToAzureCreateNetworkMappingInput

Naam Beschrijving Waarde
instanceType Het exemplaartype. 'VmmToAzure' (vereist)

VmmToVmmCreateNetworkMappingInput

Naam Beschrijving Waarde
instanceType Het exemplaartype. 'VmmToVmm' (vereist)

Gebruiksvoorbeelden

Azure-snelstartvoorbeelden

De volgende Azure-quickstartsjablonen bicep-voorbeelden bevatten voor het implementeren van dit resourcetype.

Bicep-bestand Beschrijving
Azure VM-replicatie en herstel na noodgevallen maken Met deze sjabloon kunt u herstel na noodgevallen voor sitereplicatie van virtuele Azure-machines maken.

Resourcedefinitie van ARM-sjabloon

De kluizen/replicationFabrics/replicationNetworks/replicationNetworkMappings-resourcetype kunnen worden geïmplementeerd met bewerkingen die zijn gericht op:

Zie logboek wijzigenvoor een lijst met gewijzigde eigenschappen in elke API-versie.

Resource-indeling

Als u een Resource Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings wilt maken, voegt u de volgende JSON toe aan uw sjabloon.

{
  "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings",
  "apiVersion": "2021-11-01",
  "name": "string",
  "properties": {
    "fabricSpecificDetails": {
      "instanceType": "string"
      // For remaining properties, see FabricSpecificCreateNetworkMappingInput objects
    },
    "recoveryFabricName": "string",
    "recoveryNetworkId": "string"
  }
}

FabricSpecificCreateNetworkMappingInput-objecten

Stel de eigenschap instanceType in om het type object op te geven.

Gebruik voor AzureToAzure-:

{
  "instanceType": "AzureToAzure",
  "primaryNetworkId": "string"
}

Gebruik voor VmmToAzure:

{
  "instanceType": "VmmToAzure"
}

Gebruik voor VmmToVmm:

{
  "instanceType": "VmmToVmm"
}

Eigenschapswaarden

AzureToAzureCreateNetworkMappingInput

Naam Beschrijving Waarde
instanceType Het exemplaartype. 'AzureToAzure' (vereist)
primaryNetworkId De primaire Azure vnet-id. tekenreeks (vereist)

CreateNetworkMappingInputPropertiesOrNetworkMappingProperties

Naam Beschrijving Waarde
fabricSpecificDetails Infrastructuurspecifieke invoereigenschappen. FabricSpecificCreateNetworkMappingInput-
recoveryFabricName Naam van herstelinfrastructuur. snaar
recoveryNetworkId Herstelnetwerk-id. tekenreeks (vereist)

FabricSpecificCreateNetworkMappingInput

Naam Beschrijving Waarde
instanceType Ingesteld op 'AzureToAzure' voor het type AzureToAzureCreateNetworkMappingInput. Ingesteld op 'VmmToAzure' voor het type VmmToAzureCreateNetworkMappingInput. Ingesteld op VmmToVmm voor het type VmmToVmmCreateNetworkMappingInput. 'AzureToAzure'
'VmmToAzure'
'VmmToVmm' (vereist)

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings

Naam Beschrijving Waarde
apiVersion De API-versie '2021-11-01'
naam De resourcenaam tekenreeks (vereist)
Eigenschappen Invoereigenschappen voor het maken van netwerktoewijzing. CreateNetworkMappingInputPropertiesOrNetworkMappingProperties (vereist)
type Het resourcetype 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings'

VmmToAzureCreateNetworkMappingInput

Naam Beschrijving Waarde
instanceType Het exemplaartype. 'VmmToAzure' (vereist)

VmmToVmmCreateNetworkMappingInput

Naam Beschrijving Waarde
instanceType Het exemplaartype. 'VmmToVmm' (vereist)

Gebruiksvoorbeelden

Azure-snelstartsjablonen

De volgende Azure-quickstartsjablonen dit resourcetype implementeren.

Sjabloon Beschrijving
Azure VM-replicatie en herstel na noodgevallen maken

implementeren in Azure
Met deze sjabloon kunt u herstel na noodgevallen voor sitereplicatie van virtuele Azure-machines maken.

Resourcedefinitie van Terraform (AzAPI-provider)

De kluizen/replicationFabrics/replicationNetworks/replicationNetworkMappings-resourcetype kunnen worden geïmplementeerd met bewerkingen die zijn gericht op:

  • resourcegroepen

Zie logboek wijzigenvoor een lijst met gewijzigde eigenschappen in elke API-versie.

Resource-indeling

Als u een Resource Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings wilt maken, voegt u de volgende Terraform toe aan uw sjabloon.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings@2021-11-01"
  name = "string"
  body = jsonencode({
    properties = {
      fabricSpecificDetails = {
        instanceType = "string"
        // For remaining properties, see FabricSpecificCreateNetworkMappingInput objects
      }
      recoveryFabricName = "string"
      recoveryNetworkId = "string"
    }
  })
}

FabricSpecificCreateNetworkMappingInput-objecten

Stel de eigenschap instanceType in om het type object op te geven.

Gebruik voor AzureToAzure-:

{
  instanceType = "AzureToAzure"
  primaryNetworkId = "string"
}

Gebruik voor VmmToAzure:

{
  instanceType = "VmmToAzure"
}

Gebruik voor VmmToVmm:

{
  instanceType = "VmmToVmm"
}

Eigenschapswaarden

AzureToAzureCreateNetworkMappingInput

Naam Beschrijving Waarde
instanceType Het exemplaartype. 'AzureToAzure' (vereist)
primaryNetworkId De primaire Azure vnet-id. tekenreeks (vereist)

CreateNetworkMappingInputPropertiesOrNetworkMappingProperties

Naam Beschrijving Waarde
fabricSpecificDetails Infrastructuurspecifieke invoereigenschappen. FabricSpecificCreateNetworkMappingInput-
recoveryFabricName Naam van herstelinfrastructuur. snaar
recoveryNetworkId Herstelnetwerk-id. tekenreeks (vereist)

FabricSpecificCreateNetworkMappingInput

Naam Beschrijving Waarde
instanceType Ingesteld op 'AzureToAzure' voor het type AzureToAzureCreateNetworkMappingInput. Ingesteld op 'VmmToAzure' voor het type VmmToAzureCreateNetworkMappingInput. Ingesteld op VmmToVmm voor het type VmmToVmmCreateNetworkMappingInput. 'AzureToAzure'
'VmmToAzure'
'VmmToVmm' (vereist)

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings

Naam Beschrijving Waarde
naam De resourcenaam tekenreeks (vereist)
parent_id De id van de resource die het bovenliggende item voor deze resource is. Id voor resource van het type: kluizen/replicationFabrics/replicationNetworks
Eigenschappen Invoereigenschappen voor het maken van netwerktoewijzing. CreateNetworkMappingInputPropertiesOrNetworkMappingProperties (vereist)
type Het resourcetype "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings@2021-11-01"

VmmToAzureCreateNetworkMappingInput

Naam Beschrijving Waarde
instanceType Het exemplaartype. 'VmmToAzure' (vereist)

VmmToVmmCreateNetworkMappingInput

Naam Beschrijving Waarde
instanceType Het exemplaartype. 'VmmToVmm' (vereist)