Hello,
I'm trying to create policy for Azure API Management Named Values.
It seems that API Management has moved the naming for them from:
Microsoft.ApiManagement/service/properties
to:
Microsoft.ApiManagement/service/namedValues
And now I cannot access the displayName with this policy:
{
"mode": "All",
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.ApiManagement/service/namedValues"
},
{
"not": {
"anyOf": [
{
"field": "name",
"match": "...-...-"
},
{
"field": "Microsoft.ApiManagement/service/namedValues/displayName",
"like": "*"
}
]
}
}
]
},
"then": {
"effect": "deny"
}
},
"parameters": {
}
}
Can someone check if this field is already included?
Microsoft.ApiManagement/service/namedValues/displayName
Thanks and Best Regards!
Wendelin