What is/are: Northern Quota Server COM API Enums

Introduction

This reference article provides details of all enums that can be used when configuring or identifying quotas with the Northern Quota Server COM API. More information about the API itself, with usage cases, is available in KB-2892.

Enums

enum QSQuotas_ObjectTypeEnum
{
QSQuotas_ObjectTypeDir = 0,
QSQuotas_ObjectTypeFile = 1,
QSQuotas_ObjectTypeUnknown = 2,
QSQuotas_ObjectTypeShare = 3,
QSQuotas_ObjectTypeVolume = 4,
QSQuotas_ObjectTypeServer = 5,
QSQuotas_ObjectTypeEnterprise = 6
};

enum QSQuotas_QuotaTypeEnum
{
QSQuotas_QuotaTypeObject = 0,
QSQuotas_QuotaTypeInterval = 1,
QSQuotas_QuotaTypeUser = 2,
QSQuotas_QuotaTypeFileBlock = 3,
QSQuotas_QuotaTypeAutoUser = 4,
QSQuotas_QuotaTypeAutoDir = 5
QSQuotas_QuotaTypeAutoGroup = 6 
QSQuotas_QuotaTypeAutoDirNoFD = 7
QSQuotas_AccessModeReverseFileBlock =9
QSQuotas_AccessModeBinaryFileBlock = 10
};

enum QSQuotas_ErrorMessageEnum
{
QSQuotas_ErrorMessageQuotaEnforced = 1323
QSQuotas_ErrorMessageAccessIsDenied = 0
QSQuotas_ErrorMessageQuotaExceeded = 1
};

enum QSQuotas_StatusEnu
{
QSQuotas_StatusUnlocked = 0,
QSQuotas_StatusLockDir = 1,
QSQuotas_StatusLockDirAndClosedFiles = 2,
QSQuotas_StatusLockDirAndAllFiles = 3,
QSQuotas_StatusMaskLock = 3,
QSQuotas_StatusLevel0 = 0,
QSQuotas_StatusLevel1 = 4,
QSQuotas_StatusLevel2 = 8,
QSQuotas_StatusLevel3 = 16,
QSQuotas_StatusMaskLevels = 28,
QSQuotas_StatusUnlocked_L0 = 0,
QSQuotas_StatusLockDir_L0 = 1,
QSQuotas_StatusLockDirAndClosedFiles_L0 = 2,
QSQuotas_StatusLockDirAndAllFiles_L0 = 3,
QSQuotas_StatusUnlocked_L1 = 4,
QSQuotas_StatusLockDir_L1 = 5,
QSQuotas_StatusLockDirAndClosedFiles_L1 = 6,
QSQuotas_StatusLockDirAndAllFiles_L1 = 7,
QSQuotas_StatusUnlocked_L2 = 8,
QSQuotas_StatusLockDir_L2 = 9,
QSQuotas_StatusLockDirAndClosedFiles_L2 = 10,
QSQuotas_StatusLockDirAndAllFiles_L2 = 11,
QSQuotas_StatusUnlocked_L3 = 16,
QSQuotas_StatusLockDir_L3 = 17,
QSQuotas_StatusLockDirAndClosedFiles_L3 = 18,
QSQuotas_StatusLockDirAndAllFiles_L3 = 19
};

enum QSQuotas_ActionEnum
{
QSQuotas_ActionPass = 0,
QSQuotas_ActionLockDir = 1,
QSQuotas_ActionLockDirAndClosedFiles = 2,
QSQuotas_ActionLockDirAndAllFiles = 3,
QSQuotas_ActionUnlock = 4
};

enum QSQuotas_NotifyEnum
{
QSQuotas_NotifyNone = 0,
QSQuotas_NotifyPopup = 1,
QSQuotas_NotifyMail = 2,
QSQuotas_NotifyExecute = 4,
QSQuotas_NotifyPopupMail = 3,
QSQuotas_NotifyPopupExecute = 5,
QSQuotas_NotifyMailExecute = 6,
QSQuotas_NotifyAll = 7
};

enum COM_Quotas_Platform
{
COM_Quotas_PlatformWindows = 0,
COM_Quotas_PlatformNetApp = 1,
COM_Quotas_PlatformEmc = 2,
COM_Quotas_PlatformNAS = 3,
COM_Quotas_PlatformIsilon = 4,
};

enum COM_Quotas_Notice
{
COM_Quotas_Notice_None = 0,
COM_Quotas_Notice_LicenseGracePeriod = 1
COM_Quotas_Notice_CheckHistory = 2
};

enum COM_Quotas_SizeTrackingMethod
{
COM_Quotas_SizeTrackingMethod_Synchronous = 0,
COM_Quotas_SizeTrackingMethod_Asynchronous = 1
};

enum COM_Quotas_UsageTracking
{
COM_Quotas_UsageTracking_Logical = 0,
COM_Quotas_UsageTracking_Physical = 1,
};

enum COM_QuotaServers_CentralDataStoreModeEnum
{
COM_QuotaServers_CentralDataStoreModeNone = 0
COM_QuotaServers_CentralDataStoreModeDatabase = 1
COM_QuotaServers_CentralDataStoreModeAD = 2
};

ADDITIONAL RESOURCES

  • KB2892 How to: Using the Northern Quota Server COM API
  • KB Article: 2893

    Updated: 7/7/2015

    • Category
      • Reference
    • Affected versions
      • Northern Storage Suite 8.7
      • NSS 9.0
      • NSS 9.5
      • NSS 9.6

    North America HQ

    NORTHERN Parklife, Inc.
    301Edgewater Place, Suite 100
    Wakefield, MA 01880
    USA

    Voice: 781.968.5424
    Fax: 781.968.5301

    salesUS@northern.net

     

    Additional Contact Information

    EMEA & APAC HQ

    NORTHERN Parklife AB
    St. Göransgatan 66
    112 33 Stockholm
    Sweden

    Voice: +46 8 457 50 00

    salesHQ@northern.net

    Northern Parklife



    ©2018 northern parklife

    privacy statement 
    terms of use