I'm guessing this has already been reported, but j...
# general
l
I'm guessing this has already been reported, but just in case... "pulumi import" for the Azure resources I've imported so far will generate code where a resource Input property is set to a string rather than a strongly-typed property, e.g.
Copy code
new AzureNative.Web.Inputs.HostNameSslStateArgs
                {
                    HostType = "Standard",
                    Name = "<http://my-app-service.azurewebsites.net|my-app-service.azurewebsites.net>",
                    SslState = "Disabled",
                },
when it should be:
Copy code
new AzureNative.Web.Inputs.HostNameSslStateArgs
                {
                    HostType = HostType.Standard,
                    Name = "<http://my-app-service.azurewebsites.net|my-app-service.azurewebsites.net>",
                    SslState = SslState.Disabled,
                },
As it stands, the generated code won't compile. If there's a better place to report this (again, assuming it hasn't been), lmk.
e
I don't think this will be specific to the azure-native provider that looks like a core engine bug. Otherwise I'd suggest https://github.com/pulumi/pulumi-azure-native/issues
l