You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bicep version
Bicep CLI version 0.28.1 (ba1e9f8c1e)
Describe the bug
When trying to deploy a Recovery Services Vault using Bicep and Microsoft.RecoveryServices/vaults@2024-04-01, the following error occurs:
monitoringSettings parameter is invalid. Please provide a valid monitoringSettings (Code: InvalidRestApiParameter)
Raw error:
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
"details": [
{
"code": "InvalidRestApiParameter",
"message": "monitoringSettings parameter is invalid. Please provide a valid monitoringSettings"
}
]
When using 'Microsoft.RecoveryServices/vaults@2024-01-01', it deploys without error. However, even if specifying monitoringSettings, the deployment still fails.
Using the following API versions all give the same error:
2024-04-30-preview
2024-04-01
2024-02-01
Versions from 2024-01-01 work fine.
To Reproduce
Steps to reproduce the behavior:
Without monitoring settings
Use the following Bicep template to deploy a Recovery Services Vault without monitoring settings specified:
The documentation Microsoft.RecoveryServices vaults | Microsoft Learn does not have the latest API versions. The latest version in de documentation is 2023-01-01. So it's hard to see if I'm doing anything wrong, as the documentation is outdated.
The text was updated successfully, but these errors were encountered:
Bicep version
Bicep CLI version 0.28.1 (ba1e9f8c1e)
Describe the bug
When trying to deploy a Recovery Services Vault using Bicep and
Microsoft.RecoveryServices/vaults@2024-04-01
, the following error occurs:Raw error:
When using 'Microsoft.RecoveryServices/vaults@2024-01-01', it deploys without error. However, even if specifying monitoringSettings, the deployment still fails.
Using the following API versions all give the same error:
Versions from 2024-01-01 work fine.
To Reproduce
Steps to reproduce the behavior:
Without monitoring settings
Use the following Bicep template to deploy a Recovery Services Vault without monitoring settings specified:
With monitoring settings
Use the following Bicep template to deploy a Recovery Services Vault with monitoring settings:
The documentation Microsoft.RecoveryServices vaults | Microsoft Learn does not have the latest API versions. The latest version in de documentation is 2023-01-01. So it's hard to see if I'm doing anything wrong, as the documentation is outdated.
The text was updated successfully, but these errors were encountered: