This section describes the various enumerations in relation to the entry points.
VCSAgResState:
The VCSAgResState enumeration describes what state the monitor entry point can return.
enum VCSAgResState { VCSAgResOffline, // Resource is OFFLINE VCSAgResOnline, // Resource is ONLINE VCSAgResUnknown,// Resource state is UNKNOWN VCSAgResIntentionalOffline// Resource state is OFFLINE, but is intentionally done. Only in V51 and later agents) };
VCSAgWhyClean
This VCSAgWhyClean enumeration describes the reason why the clean entry point is called.
enum VCSAgWhyClean { VCSAgCleanOfflinehung,// offline entry point did not complete within the expected time. VCSAgCleanOfflineIneffective,// offline entry point was ineffective. VCSAgCleanOnlineHung,// online entry point did not complete within the expected time. VCSAgCleanOnlineIneffective,// online entry point was ineffective. VCSAgCleanUnexpectedOffline,// The resource became offline unexpectedly. VCSAgCleanMonitorHung// monitor entry point did not complete within the expected time. };
VCSAgResInfoOp
The VCSAgResInfoOp enumeration indicates whether to initialize or update the data in the ResourceInfo attribute.
enum VCSAgResInfoOp { VCSAgResInfoAdd = 1,// Add non-default keys to the ResourceInfo attribute. VCSAgResInfoUpdate// Update only the non-default key-value data pairs in the ResourceInfo attribute. };