Skip to content

Commit

Permalink
Update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Dec 20, 2024
1 parent a36c447 commit ee7959b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions avm/res/recovery-services/vault/protected-item/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,17 @@ param sourceResourceId string
// protectedItemType: any(protectedItemType)
// policyId: policyResourceId
// sourceResourceId: sourceResourceId
// extendedProperties: []
// extendedProperties: {}
// }
// }

resource protectedItem 'Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems@2024-10-01' = {
name: 'alsgrsvmax001/Azure/iaasvmcontainer;IaasVMContainer;iaasvmcontainerv2;dep-alsg-recoveryservices.vaults-rsvmax-rg;dep-alsg-vm-rsvmax/vm;iaasvmcontainerv2;dep-alsg-recoveryservices.vaults-rsvmax-rg;dep-alsg-vm-rsvmax'
name: 'alsgrsvmax001/Azure/IaasVMContainer;iaasvmcontainerv2;dep-alsg-recoveryservices.vaults-rsvmax-rg;dep-alsg-vm-rsvmax/vm;iaasvmcontainerv2;dep-alsg-recoveryservices.vaults-rsvmax-rg;dep-alsg-vm-rsvmax'
location: location
properties: {
protectedItemType: 'Microsoft.Compute/virtualMachines'
policyId: '/subscriptions/a7439831-1cd9-435d-a091-4aa863c96556/providers/Microsoft.RecoveryServices/vaults/alsgrsvmax001/backupPolicies/VMpolicy'
// policyId: '/subscriptions/a7439831-1cd9-435d-a091-4aa863c96556/providers/Microsoft.RecoveryServices/vaults/alsgrsvmax001/backupPolicies/VMpolicy'
policyId: resourceId('Microsoft.RecoveryServices/vaults/backupPolicies', 'alsgrsvmax001', 'VMpolicy')
sourceResourceId: '/subscriptions/a7439831-1cd9-435d-a091-4aa863c96556/resourceGroups/dep-alsg-recoveryservices.vaults-rsvmax-rg/providers/Microsoft.Compute/virtualMachines/dep-alsg-vm-rsvmax'
extendedProperties: {}
}
Expand Down

0 comments on commit ee7959b

Please sign in to comment.