dsc/custom/cIIS/DscResources/OBJ_cWebVirtualDirectory/OBJ_cWebVirtualDirectory.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("cWebVirtualDirectory")]
class OBJ_cWebVirtualDirectory : OMI_BaseResource
{
    [Key, Description("Name of website with which Web Application is associated")] string Website;
    [Key, Description("Web application name for the virtual directory")] string WebApplication;
    [Key, Description("Name of virtual directory")] string Name;
    [Required, Description("Physical path for the virtual directory")] string PhysicalPath;
    [Write, Description("Whether virtual directory should be present or absent"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure;
};