Does anyone know how I can store an object of type...
# azure
m
Does anyone know how I can store an object of type Dictionary<string,object> in a YAML config file so that I can deserialize it into a dictionary using Pulumi.Config.RequireObject? For example my POCO class contains a property
public Dictionary<string, CustomApiConnectionParameterModel> ConnectionParameters { get; set; } = new Dictionary<string, CustomApiConnectionParameterModel>();
At the moment CustomApiConnectionParameterModel just looks like this
Copy code
public class CustomApiConnectionParameterModel
{
    public CustomApiConnectionType Type { get; set; }
}
I want to be able to store a bunch of dictionary items as yaml so that I can pull them in.