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
ApiConnectionDefinitionProperties: warning BCP089: The property "parameterValueSet" is not allowed on objects of type "ApiConnectionDefinitionProperties".
#2386
Open
1 task done
dciborow opened this issue
Dec 8, 2024
· 0 comments
Both parameterValueSet and parameterValueType: 'Alternative' seem to be allowed.
Mentioned here:
@JeroenvdBurg , many thanks, that solved the problem! As you have indicated and I agree, code can be further improved. I wanted something quick, dirty and working before making adjustments.
@alex-frankel , agreed it's related yet different. I am not sure who in MSFT should be documenting these details. While @JeroenvdBurg approach works, IMO it's not something we should be doing - this should be well documented for each Microsoft.Web/connections resource.
Btw, for storage account, here is correct JSON payload
C:\__w\1\s\.deployment\Deployment\modules\safefly\safeflySchemaLogicApp.bicep(79,5): warning BCP089: The property "parameterValueSet" is not allowed on objects of type "ApiConnectionDefinitionProperties". Did you mean "parameterValues"? [C:\__w\1\s\.deployment\Deployment\Deployment.csproj]
##[warning].deployment\Deployment\modules\safefly\safeflySchemaLogicApp.bicep(95,5): Warning BCP089: The property "parameterValueSet" is not allowed on objects of type "ApiConnectionDefinitionProperties". Did you mean "parameterValues"?
Resource Type
Microsoft.Web/connections
Api Version
2016-06-01
Issue Type
Other
Other Notes
Both parameterValueSet and parameterValueType: 'Alternative' seem to be allowed.
Mentioned here:
Originally posted by @sjuratov in #1990
Bicep Repro
resource connectionAzureTables 'Microsoft.Web/connections@2016-06-01' = {
name: '${prefix}-con-azuretables-${locationShortName}'
location: location
properties: {
displayName: 'Azure Table Connection'
api: {
id: subscriptionResourceId('Microsoft.Web/locations/managedApis', location, 'azuretables')
}
// undocumented values required to use managed identity for storage account connection
parameterValueSet: {
name: 'managedIdentityAuth'
values: {}
}
}
}
Confirm
The text was updated successfully, but these errors were encountered: