-
Hi There, |
Beta Was this translation helpful? Give feedback.
Answered by
gettek
Sep 30, 2022
Replies: 1 comment
-
You can probably add an additional condition below resource types to also check for (Get-AzPolicyAlias -NamespaceMatch "Microsoft.ApiManagement").Aliases | ? {$_.name -like "*sku*"} | Select-Object Name,DefaultPath | ConvertTo-Json [
{
"Name": "Microsoft.ApiManagement/service/sku.name.externalDocs",
"DefaultPath": "sku.name.externalDocs"
},
{
"Name": "Microsoft.ApiManagement/service/sku.name",
"DefaultPath": "sku.name"
},
{
"Name": "Microsoft.ApiManagement/service/sku.capacity",
"DefaultPath": "sku.capacity"
},
{
"Name": "Microsoft.ApiManagement/service/sku",
"DefaultPath": "sku"
},
{
"Name": "Microsoft.ApiManagement/service/additionalLocations[*].skuType",
"DefaultPath": "properties.additionalLocations[*].skuType"
},
{
"Name": "Microsoft.ApiManagement/service/additionalLocations[*].skuUnitCount",
"DefaultPath": "properties.additionalLocations[*].skuUnitCount"
},
{
"Name": "Microsoft.ApiManagement/service/additionalLocations[*].sku.name.externalDocs",
"DefaultPath": "properties.additionalLocations[*].sku.name.externalDocs"
},
{
"Name": "Microsoft.ApiManagement/service/additionalLocations[*].sku.name",
"DefaultPath": "properties.additionalLocations[*].sku.name"
},
{
"Name": "Microsoft.ApiManagement/service/additionalLocations[*].sku.capacity",
"DefaultPath": "properties.additionalLocations[*].sku.capacity"
},
{
"Name": "Microsoft.ApiManagement/service/additionalLocations[*].sku",
"DefaultPath": "properties.additionalLocations[*].sku"
}
] |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gettek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can probably add an additional condition below resource types to also check for
sku
orsku.name
using its Alias: