Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This diagnostic occurs when you reference a property that is write-only.
The property <property-name> on type <type-name> is write-only. Write-only properties cannot be accessed.
Warning / Error
The following example raises the diagnostic because customHeaders
is a write-only property.
resource webhook 'Microsoft.ContainerRegistry/registries/webhooks@2023-07-01' existing = {
name: 'registry/webhook'
}
output customerHeaders object = webhook.properties.customHeaders
For more information about Bicep diagnostics, see Bicep core diagnostics.