DSCResources/MSFT_IntuneDeviceEnrollmentLimitRestriction/MSFT_IntuneDeviceEnrollmentLimitRestriction.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("IntuneDeviceEnrollmentLimitRestriction")]
class MSFT_IntuneDeviceEnrollmentLimitRestriction : OMI_BaseResource
{
    [Key, Description("Display name of the device enrollment limit restriction.")] String DisplayName;
    [Write, Description("Description of the device enrollment limit restriction.")] String Description;
    [Write, Description("Specifies the maximum number of devices a user can enroll")] UInt32 Limit;
    [Write, Description("Present ensures the restriction 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;
};