sparse-intern-71089
04/08/2021, 6:51 AMtall-librarian-49374
04/08/2021, 7:28 AMpulumi up --skip-preview --yes -v=9 --debug --logflow --logtostderr
and send the output to mikhail@pulumi.com ?refined-tomato-5322
04/08/2021, 1:36 PMtall-librarian-49374
04/08/2021, 3:10 PModataType
to understand which one is to blame, or whether they are all broken?tall-librarian-49374
04/08/2021, 3:12 PMrefined-tomato-5322
04/09/2021, 1:21 AMHave you tried reducing the resource to a single property withAbsolutely. It seems to be a problem with all of them. I'll experiment with the templates you linked to and see if I have the same problem. Thank you very much!to understand which one is to blame, or whether they are all broken?odataType
tall-librarian-49374
04/09/2021, 6:10 AMrefined-tomato-5322
04/09/2021, 2:51 PMconditions: [ {
name: "RequestScheme",
parameters: {
operator: "Equal",
matchValues: [ "HTTP" ],
odataType:"#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionParameters"
}
}],
The parameters expected input type is:
parameters: pulumi.Input<inputs.cdn.RequestSchemeMatchConditionParameters
So I had initially assumed odataType namespace would be the same. Looking at the Azure Docs gets me closer to the actual type - but not quite. The correct odataType model was in fact "DeliveryRuleRequestSchemeConditionParameters". (I wonder why it is not: "DeliveryRuleRequestScheme_*Match*_ConditionParameters".) The templates you linked to made me realise the naming conventions being used and with some experimentation I managed to get there.
The correct types were as follows:
for "UrlRedirect" Action: #Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRedirectActionParameters
for "RequestScheme" Condition: #Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionParameters
for "CacheExpiration" action: #Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters
Thank you again very much!tall-librarian-49374
04/09/2021, 2:58 PModataType
? I was hoping we would validate it if it was wrong.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by