Open
Description
This is a duplicate of 950 as requested by @mikhailshilkov.
If I try to run up an Integration Account using the sample code from the Pulumi website (below) I get an error
error: autorest/azure: Service returned an error. Status=400 Code="InvalidIntegrationAccount" Message="The provided integration account definition is not valid."
Steps to reproduce
"Pulumi up" the following code
using Pulumi;
using AzureNative = Pulumi.AzureNative;
class MyStack : Stack
{
public MyStack()
{
var integrationAccount = new AzureNative.Logic.IntegrationAccount("integrationAccount", new AzureNative.Logic.IntegrationAccountArgs
{
IntegrationAccountName = "testIntegrationAccount",
Location = "westus",
ResourceGroupName = "testResourceGroup",
Sku = new AzureNative.Logic.Inputs.IntegrationAccountSkuArgs
{
Name = "Standard",
},
});
}
}
The fix is to add a State property e.g. State = "Enabled" so I think this property needs to be marked as required and the documentation updated.
Cheers
Alan