DSCResources/MSFT_IntuneDeviceCategory/MSFT_IntuneDeviceCategory.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("IntuneDeviceCategory")]
class MSFT_IntuneDeviceCategory : OMI_BaseResource
{
    [Key, Description("Display name of the device category.")] String DisplayName;
    [Write, Description("Description of the device category.")] String Description;
    [Write, Description("Present ensures the category exists, absent ensures it is removed."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure;
    [Required, Description("Credentials of the Intune Admin"), EmbeddedInstance("MSFT_Credential")] String GlobalAdminAccount;
};