DSCResources/cLocalFileShare/cLocalFileShare.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("cLocalFileShare")]
class cLocalFileShare : OMI_BaseResource
{
    [Write, Description("Indicates if the share exists. Set this property to Absent to ensure that the share does not exist. Setting it to Present (the default value) ensures that the share exists."), ValueMap{"Absent","Present"}, Values{"Absent","Present"}] String Ensure;
    [Key, Description("Indicates the name of the share.")] String Name;
    [Key, Description("Indicates the path to the location of the folder to share.")] String Path;
    [Write, Description("Indicates the number of users allowed to concurrently use the share. To set the limit at the maximum number, set this property to zero.")] UInt32 ConcurrentUserLimit;
    [Write, Description("Indicates an optional description for the share.")] String Description;
    [Write, Description("Indicates which accounts are granted Full Control permission to access the share.")] String FullAccess[];
    [Write, Description("Indicates which accounts are granted Change permission to access the share.")] String ChangeAccess[];
    [Write, Description("Indicates which accounts are granted Read permission to access the share.")] String ReadAccess[];
    [Write, Description("Indicates which accounts are denied access to the share.")] String NoAccess[];
};