DSCResources/xSelfSignedCertificate/xSelfSignedCertificate.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("xSelfSignedCertificate")]
class xSelfSignedCertificate : OMI_BaseResource
{
    [Key, Required, Description("Certificate Common Name.")]
    String CommonName;
    [Required, Description("Certificate Friendly Name.")]
    String FriendlyName;
    [Write, Description("Path of exported PFX (Private Key).")]
    String PFXPath;
    [Write, Description("Path of exported CER (Public Key).")]
    String CERPath;
    [Write, Description("Path of Thumbprint TXT file.")]
    String ThumbprintPath;
    [Key, Required, Description("Set this to 'Present' to ensure that the object is present. Set it to 'Absent' to ensure that the object is deleted."),
    ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
};