https://pulumi.com logo
#dotnet
Title
# dotnet
v

victorious-ghost-35676

09/01/2022, 5:45 PM
When trying to run one of the exampled here https://www.pulumi.com/registry/packages/azure-native/api-docs/insights/metricalert/#metricalertmultipleresourcemultiplemetriccriteria I am not able to get the
Criteria
to line up correctly
Getting the following error
figured out this one, looks like the documentation is of a bit, you need to use the following when setting the criteria.
Copy code
Criteria = new MetricAlertSingleResourceMultipleMetricCriteriaArgs
                    {
                        AllOf =
                        {
                            new MetricCriteriaArgs
                            {
                            }