Azure / Azure/Azure-Verified-Modules
[Question/Feedback]: recovery-services/vault: How to register protectionContainer
- Dominant language
- PowerShell
- Stars
- 580
- Forks
- 161
- Avg merge
- 11h 3m
- Merged PRs (30d)
- 15
Description
### Check for previous/existing GitHub issues
- [x] I have checked for previous/existing GitHub issues
### Description
How can I register protectionContainer(SQL Database in Azure VM) in AVM recovery-services/vault?
In bicep the registration can be done by:
`resource rsv_my_vault_Azure_protectionContainers 'Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers@2020-02-02' = [
for (item, i) in protectionContainers: {
name: 'my_vault/Azure/${item}'
properties: {
backupManagementType: backupManagementType
workloadType: workloadType
containerType: protectionContainerTypes[i]
sourceResourceId: sourceResourceIds[i]
operationType: 'Register'
}
}
]`
with example params
`"workloadType": {
"value": "SQLDataBase"
},
"protectionContainers": {
"value": [
"VMAppContainer;Compute;..."
]
},
"protectionContainerTypes": {
"value": [
"VMAppContainer"
]
},
"sourceResourceIds": {
"value": [
"/subscriptions/....."
]
},
"backupManagementType": {
"value": "AzureWorkload"
}`
In Azure portal registration is visible here:
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.