Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

661 lines
55 KiB

  1. ��// (c) 1998-2000 Microsoft Corporation. All rights reserved.
  2. //#pragma autorecover
  3. #pragma classflags("forceupdate")
  4. Qualifier Description : ToSubClass Amended;
  5. Qualifier Values : ToSubClass Amended;
  6. Qualifier DisplayName : ToSubClass Amended;
  7. Qualifier BitValues:ToSubClass Amended ;
  8. Qualifier Aggregate : ToSubClass ;
  9. Qualifier ValueMap : ToSubClass ;
  10. Qualifier Aggregation : ToSubClass ;
  11. Qualifier ArrayType : ToSubClass ;
  12. Qualifier Association : ToInstance ToSubClass DisableOverride ;
  13. Qualifier BitMap : ToSubClass ;
  14. Qualifier CIM_Key : ToSubClass ;
  15. Qualifier CIMTYPE : ToSubClass ;
  16. Qualifier Deprecated : ToSubClass ;
  17. Qualifier Enumeration : ToSubClass ;
  18. Qualifier EnumPrivileges : ToSubClass ;
  19. Qualifier ImplementationSource : ToSubClass ;
  20. Qualifier Key : ToInstance ToSubClass DisableOverride ;
  21. Qualifier Locale : ToInstance ;
  22. Qualifier MappingStrings : ToSubClass ;
  23. Qualifier Max : ToSubClass ;
  24. Qualifier MaxLen : ToSubClass ;
  25. Qualifier MethodSource : ToSubClass ;
  26. Qualifier Min : ToSubClass ;
  27. Qualifier ModelCorrespondence : ToSubClass ;
  28. Qualifier Not_Null : ToSubClass ;
  29. Qualifier Optional : ToSubClass ;
  30. Qualifier Override : Restricted ;
  31. Qualifier Privileges : ToSubClass ;
  32. Qualifier Propagated : ToSubClass ;
  33. Qualifier PropertySources : ToSubClass ;
  34. Qualifier Provider : ToInstance ;
  35. Qualifier Range : ToSubClass ;
  36. Qualifier Read : ToSubClass ;
  37. Qualifier Schema : ToInstance ;
  38. Qualifier Singleton : ToSubClass ToInstance ;
  39. Qualifier SUBTYPE : ToSubClass ;
  40. Qualifier Units : ToSubClass ;
  41. Qualifier UUID : ToInstance ;
  42. Qualifier Volatile : ToSubClass ;
  43. Qualifier Weak : ToSubClass ;
  44. Qualifier Write : ToSubClass ;
  45. Qualifier WritePrivileges : ToSubClass ;
  46. #pragma namespace ("\\\\.\\Root")
  47. [Locale(0x409)]
  48. instance of __Namespace
  49. {
  50. Name = "MicrosoftFrsConfig";
  51. };
  52. #pragma namespace ("\\\\.\\Root\\MicrosoftFrsConfig")
  53. ///////////////////////////////// cim classes
  54. [Abstract, Description( "The CIM_ManagedSystemElement class "
  55. "is the base class for the system element hierarchy. Membership "
  56. "criteria: Any distinguishable component of a system is a "
  57. "candidate for inclusion in this class./nExamples: software "
  58. "components, such as files; and devices, such as disk drives "
  59. "and controllers, and physical components such as chips and "
  60. "cards."):Amended ToSubclass, Locale( 1033):Amended,
  61. UUID("{8502C517-5FBB-11D2-AAC1-006008C78BC7}"): ToInstance]
  62. class CIM_ManagedSystemElement
  63. {
  64. [Description( "The Caption property is a short textual description "
  65. "(one-line string) of the object."):Amended ToSubclass,
  66. MaxLen( 64): ToSubclass, read: ToSubclass]
  67. STRING Caption;
  68. [Description( "The Description property provides a textual "
  69. "description of the object. "):Amended ToSubclass, read: ToSubclass]
  70. STRING Description;
  71. [Description( "The InstallDate property is datetime value indicating "
  72. "when the object was installed. A lack of a value does not "
  73. "indicate that the object is not installed."):Amended ToSubclass,
  74. MappingStrings{ "MIF.DMTF|ComponentID|001.5"}: ToSubclass,read: ToSubclass]
  75. DATETIME InstallDate;
  76. [Description( "The Name property defines the label by which "
  77. "the object is known. When subclassed, the Name property "
  78. "can be overridden to be a Key property."):Amended ToSubclass,read: ToSubclass]
  79. STRING Name;
  80. [Description( "The Status property is a string indicating the "
  81. "current status of the object. Various operational and non-operational "
  82. "statuses can be defined. Operational statuses are \"OK\", "
  83. "\"Degraded\" and \"Pred Fail\". \"Pred Fail\" indicates "
  84. "that an element may be functioning properly but predicting "
  85. "a failure in the near future. An example is a SMART-enabled "
  86. "hard drive. Non-operational statuses can also be specified. "
  87. "These are \"Error\", \"Starting\", \"Stopping\" and \"Service\"."
  88. "The latter, \"Service\", could apply during mirror-resilvering "
  89. "of a disk, reload of a user permissions list, or other administrative "
  90. "work. Not all such work is on-line, yet the managed element "
  91. "is neither \"OK\" nor in one of the other states."):Amended ToSubclass,
  92. MaxLen( 10): ToSubclass, read: ToSubclass, ValueMap{"OK", "Error",
  93. "Degraded", "Unknown", "Pred Fail", "Starting", "Stopping", "Service"}:
  94. ToSubclass, Values{ "OK", "Error", "Degraded", "Unknown", "Pred Fail",
  95. "Starting", "Stopping", "Service"}:Amended ToSubclass]
  96. STRING Status;
  97. };
  98. [Abstract, Description( "The CIM_LogicalElement class is the "
  99. "base class for all the components of the system that represent "
  100. "abstract system components./nExample: profiles, processes, "
  101. "or system capabilities in the form of logical devices."):Amended
  102. ToSubclass, Locale( 1033):Amended,
  103. UUID( "{8502C518-5FBB-11D2-AAC1-006008C78BC7}"): ToInstance]
  104. class CIM_LogicalElement:CIM_ManagedSystemElement
  105. {
  106. };
  107. [Abstract, Description( "A logical element that aggregates an "
  108. "enumerable set of managed system elements. The aggregation "
  109. "operates as an functional whole. Within any particular subclass "
  110. "of CIM_System, there is a well-defined list of CIM_ManagedSystemElement "
  111. "classes whose instances must be aggregated."):Amended ToSubclass,
  112. Locale( 1033):Amended, UUID( "{8502C524-5FBB-11D2-AAC1-006008C78BC7}"): ToInstance]
  113. class CIM_System:CIM_LogicalElement
  114. {
  115. [Description( "The inherited Name property serves as key of "
  116. "a CIM_System instance in an enterprise environment."):Amended
  117. ToSubclass, key: DisableOverride ToInstance ToSubclass,
  118. Override( "Name"), read: ToSubclass]
  119. STRING Name;
  120. [Description( "The CIM_System object and its derivatives are "
  121. "top level objects of CIM. They provide the scope for numerous "
  122. "components. Having unique system keys is required. A heuristic "
  123. "can be defined in individual system subclasses to attempt "
  124. "to always generate the same system name key. The NameFormat "
  125. "property identifies how the system name was generated, using "
  126. "the subclass' heuristic."):Amended ToSubclass, read: ToSubclass]
  127. STRING NameFormat;
  128. [Description( "A string that provides information on how the "
  129. "primary system owner can be reached (e.g. phone number, "
  130. "email address, ...)."):Amended ToSubclass, read: ToSubclass]
  131. STRING PrimaryOwnerContact;
  132. [Description( "The name of the primary system owner."):Amended
  133. ToSubclass, read: ToSubclass]
  134. STRING PrimaryOwnerName;
  135. [Description( "A collection of strings that specify the roles "
  136. "this system plays in the IT-environment."):Amended ToSubclass, read: ToSubclass]
  137. STRING Roles[];
  138. };
  139. [Abstract, Association: DisableOverride ToInstance ToSubclass,
  140. Description( "A generic association to establish dependency "
  141. "relationships between objects."):Amended ToSubclass, Locale(1033):Amended,
  142. UUID( "{8502C53A-5FBB-11D2-AAC1-006008C78BC7}"): ToInstance]
  143. class CIM_Dependency
  144. {
  145. [Description( "Antecedent represents the independent object "
  146. "in this association."):Amended ToSubclass, read: ToSubclass]
  147. CIM_ManagedSystemElement ref Antecedent;
  148. [Description( "Dependent represents the object dependent on "
  149. "the Antecedent."):Amended ToSubclass, read: ToSubclass]
  150. CIM_ManagedSystemElement ref Dependent;
  151. };
  152. /////////////////////////////////
  153. instance of __Win32Provider as $DataProv
  154. {
  155. Name = "MicrosoftFrsConfigProvider";
  156. ClsId = "{39143F73-FDB1-4CF5-8CB7-C8439E3F5C20}" ;
  157. };
  158. instance of __InstanceProviderRegistration
  159. {
  160. Provider = $DataProv;
  161. SupportsPut = True;
  162. SupportsGet = True;
  163. SupportsDelete = True;
  164. SupportsEnumeration = True;
  165. QuerySupportLevels = {"WQL:UnarySelect"};
  166. };
  167. instance of __MethodProviderRegistration
  168. {
  169. Provider = $DataProv;
  170. };
  171. [Abstract,
  172. Description("The MicrosoftFrs_ReplicaSet is the abstract class which will derive to other types of replica set.")]
  173. class MicrosoftFrs_ReplicaSet : CIM_LogicalElement
  174. {
  175. [Description("The FQDN property contains the fully qualified DN name of the replica set object. "
  176. "It corresponds to the 'distinguishedName' attribute of the object.")]
  177. string FQDN;
  178. [Description("The ObjectGUID property contains the string-formed GUID of the replica set object. "
  179. "It does not contain the curly braces. It corresponds to the 'objectGUID' attribute of the object.")]
  180. string ObjectGUID;
  181. [Description("The CreateTime property is the creation time of the object. "
  182. "It corresponds to the 'whenCreated' attribute of the object.")]
  183. DATETIME CreateTime;
  184. [Description("The LastChangeTime property is the time of the last modification of the object. "
  185. "It corresponds to the 'whenChanged' attribute of the object.")]
  186. DATETIME LastChangeTime;
  187. [Description("The FileFilter property is a comma-separated string, each substring stands for "
  188. "filenames that should be excluded from replication. It corresponds to the 'fRSFileFilter' attribute "
  189. "of the object.")]
  190. string FileFilter;
  191. [Description("The DirectoryFilter property is a comma-separated string, each substring stands for "
  192. "folder names that should be excluded from replication. It corresponds to the 'fRSDirectoryFilter' attribute "
  193. "of the object.")]
  194. string DirectoryFilter;
  195. [Description("The PrimaryMemberDN property is the FQDN of the FRS primary member object. "
  196. "When you initially create a replica set, one of the members should be appointed as the primary, "
  197. "whose pre-existing files and folders will be replicated to other members, while the pre-existing "
  198. "contents on non-primary members will be archived to a specific location. It corresponds to the "
  199. "'fRSPrimaryMember' attribute of the object.")]
  200. string PrimaryMemberDN;
  201. };
  202. [Description("The MicrosoftFrs_DfsReplicaSet class represents a replica set of Dfs type. "
  203. "It inherits from the abstract class MicrosoftFrs_ReplicaSet"),
  204. dynamic,
  205. provider("MicrosoftFrsConfigProvider"),
  206. Locale (0x409)]
  207. class MicrosoftFrs_DfsReplicaSet : MicrosoftFrs_ReplicaSet
  208. {
  209. [key, Override("FQDN")]
  210. string FQDN;
  211. [ValueMap{"1","2","3","4"}, Values{"Ring", "Hub & Spoke", "Full Mesh", "Custom"}, Description("The TopologyPreference property specifies the preferred topology "
  212. "for this replica set. It has integer value 1 (Ring), 2 (Hub & Spoke), 3 (Full Mesh), and 4 (Custom). "
  213. "It corresponds to the 'MicrosoftFrs-Topology-Pref' attribute of the object.")]
  214. uint32 TopologyPreference;
  215. [Description("The HubMemberDN property is the FQDN of the hub member object "
  216. "when the topology is Hub & Spoke. It corresponds to the 'MicrosoftFrs-Hub-Member' attribute "
  217. "of the object.")]
  218. string HubMemberDN;
  219. };
  220. [Description("The MicrosoftFrs_SysVolReplicaSet class represents a replica set of SysVol type. "
  221. "It inherits from the abstract class MicrosoftFrs_ReplicaSet"),
  222. dynamic,
  223. provider("MicrosoftFrsConfigProvider"),
  224. Locale (0x409)]
  225. class MicrosoftFrs_SysVolReplicaSet : MicrosoftFrs_ReplicaSet
  226. {
  227. [key, Override("FQDN")]
  228. string FQDN;
  229. };
  230. [Abstract,
  231. Description("The MicrosoftFrs_Member is the abstract class which will derive to other types of members.")]
  232. class MicrosoftFrs_Member : CIM_LogicalElement
  233. {
  234. [Description("The FQDN property contains the fully qualified DN name of the member object. "
  235. "It corresponds to the 'distinguishedName' attribute of the object.")]
  236. string FQDN;
  237. [Description("The ObjectGUID property contains the string-formed GUID of the member object. "
  238. "It does not contain the curly braces. It corresponds to the 'objectGUID' attribute of the object.")]
  239. string ObjectGUID;
  240. [Description("The CreateTime property is the creation time of the object. "
  241. "It corresponds to the 'whenCreated' attribute of the object.")]
  242. DATETIME CreateTime;
  243. [Description("The LastChangeTime property is the time of the last modification of the object. "
  244. "It corresponds to the 'whenChanged' attribute of the object.")]
  245. DATETIME LastChangeTime;
  246. [Description("The ComputerDN property is the FQDN of the corresponding computer object. "
  247. "It corresponds to the 'frsComputerReference' attribute of the object.")]
  248. string ComputerDN;
  249. ///////////////////////////////////////////////////
  250. //Dynamic properties provided by the FRS service.//
  251. ///////////////////////////////////////////////////
  252. [Description("The DynDirFilter property is the current value of the directory filter. "
  253. "It is a result of combining 'Directory Exclusion Filter List' value from registry. "
  254. "and the 'fRSDirectoryFilter' attribute on replica set object from the DS.")]
  255. string DynDirFilter;
  256. [Description("The DynDirIncFilter property is the current value of the inclusion directory filter. "
  257. "It corresponds to the 'Directory Inclusion Filter List' value in the registry.")]
  258. string DynDirIncFilter;
  259. [Description("The DynFileFilter property is the current value of the file filter. "
  260. "It is a result of combining 'File Exclusion Filter List' value from registry. "
  261. "and the 'fRSFileFilter' attribute on replica set object from the DS.")]
  262. string DynFileFilter;
  263. [Description("The DynFileIncFilter property is the current value of the inclusion file filter. "
  264. "It corresponds to the 'File Inclusion Filter List' value in the registry.")]
  265. string DynFileIncFilter;
  266. [Description("The DynRootPath property is the current value of the replica root path.")]
  267. string DynRootPath;
  268. [Description("The DynStagingPath property is the current value of the replica staging path.")]
  269. string DynStagingPath;
  270. [Description("The DynOriginatorGUID property is the current value of the originator guid.")]
  271. string DynOriginatorGUID;
  272. [Values{"REPLICA_STATE_ALLOCATED","REPLICA_STATE_INITIALIZING","REPLICA_STATE_STARTING",
  273. "REPLICA_STATE_ACTIVE","REPLICA_STATE_4_UNUSED","REPLICA_STATE_PAUSING","REPLICA_STATE_PAUSED",
  274. "REPLICA_STATE_STOPPING","REPLICA_STATE_STOPPED","REPLICA_STATE_ERROR","REPLICA_STATE_JRNL_WRAP_ERROR",
  275. "REPLICA_STATE_REPLICA_DELETED","REPLICA_STATE_MISMATCHED_VOLUME_SERIAL_NO",
  276. "REPLICA_STATE_MISMATCHED_REPLICA_ROOT_OBJECT_ID","REPLICA_STATE_MISMATCHED_REPLICA_ROOT_FILE_ID",
  277. "REPLICA_STATE_MISMATCHED_JOURNAL_ID"}, Description("The DynServiceState property is the current "
  278. "value of the state of the service.")]
  279. string DynServiceState;
  280. [Description("The DynInSeedingState property indicates if the service is currently completing its "
  281. "initial sync from an upstream partner member." )]
  282. boolean DynInSeedingState;
  283. [Description("The DynOutboundChanges property is the number of changes pending to be sent out to "
  284. "downstream partners of this member." )]
  285. uint32 DynOutboundChanges;
  286. [Description("The DynOutboundData property is the amount of data in MB pending to be sent out to "
  287. "downstream partners of this member." )]
  288. uint32 DynOutboundData;
  289. [Description("The DynStagingSpaceInUse property is the MB of staging space that is currently in use." )]
  290. uint32 DynStagingSpaceInUse;
  291. [Description("The DynFreeStagingSpace property is the MB of un used staging space at this point." )]
  292. uint32 DynFreeStagingSpace;
  293. [Description("The DynNumOfInboundPartners property is the number of inbound partners." )]
  294. uint32 DynNumOfInboundPartners;
  295. [Description("The DynNumOfOutboundPartners property is the number of outbound partners." )]
  296. uint32 DynNumOfOutboundPartners;
  297. [Description("The DynNumOfInlogChanges property is the number of remote changes pending to be applied on "
  298. "this member." )]
  299. uint32 DynNumOfInlogChanges;
  300. };
  301. [Description("The MicrosoftFrs_DfsMember class represents a member in the DFS replica set. "
  302. "It inherits from the abstract class MicrosoftFrs_Member"),
  303. dynamic,
  304. provider("MicrosoftFrsConfigProvider"),
  305. Locale (0x409)]
  306. class MicrosoftFrs_DfsMember : MicrosoftFrs_Member
  307. {
  308. [key, Override("FQDN")]
  309. string FQDN;
  310. };
  311. [Description("The MicrosoftFrs_SysVolMember class represents a member in the SysVol replica set. "
  312. "It inherits from the abstract class MicrosoftFrs_Member"),
  313. dynamic,
  314. provider("MicrosoftFrsConfigProvider"),
  315. Locale (0x409)]
  316. class MicrosoftFrs_SysVolMember : MicrosoftFrs_Member
  317. {
  318. [key, Override("FQDN")]
  319. string FQDN;
  320. };
  321. [Description("The MicrosoftFrs_Subscription class represents a subscription object."),
  322. dynamic,
  323. provider("MicrosoftFrsConfigProvider"),
  324. Locale (0x409)]
  325. class MicrosoftFrs_Subscription : CIM_LogicalElement
  326. {
  327. [key, Description("The FQDN property contains the fully qualified DN name of the subscriber object. "
  328. "It corresponds to the 'distinguishedName' attribute of the object.")]
  329. string FQDN;
  330. [Description("The ObjectGUID property contains the string-formed GUID of the subscriber object. "
  331. "It does not contain the curly braces. It corresponds to the 'objectGUID' attribute of the object.")]
  332. string ObjectGUID;
  333. [Description("The CreateTime property is the creation time of the object. "
  334. "It corresponds to the 'whenCreated' attribute of the object.")]
  335. DATETIME CreateTime;
  336. [Description("The LastChangeTime property is the time of the last modification of the object. "
  337. "It corresponds to the 'whenChanged' attribute of the object.")]
  338. DATETIME LastChangeTime;
  339. };
  340. [Description("The MicrosoftFrs_Subscriber class represents a subscriber object."),
  341. dynamic,
  342. provider("MicrosoftFrsConfigProvider"),
  343. Locale (0x409)]
  344. class MicrosoftFrs_Subscriber : CIM_LogicalElement
  345. {
  346. [key, Description("The FQDN property contains the fully qualified DN name of the subscriber object. "
  347. "It corresponds to the 'distinguishedName' attribute of the object.")]
  348. string FQDN;
  349. [Description("The ObjectGUID property contains the string-formed GUID of the subscriber object. "
  350. "It does not contain the curly braces. It corresponds to the 'objectGUID' attribute of the object.")]
  351. string ObjectGUID;
  352. [Description("The CreateTime property is the creation time of the object. "
  353. "It corresponds to the 'whenCreated' attribute of the object.")]
  354. DATETIME CreateTime;
  355. [Description("The LastChangeTime property is the time of the last modification of the object. "
  356. "It corresponds to the 'whenChanged' attribute of the object.")]
  357. DATETIME LastChangeTime;
  358. [Description("The MemberDN property is the FQDN of the corresponding member object. "
  359. "It corresponds to the 'fRSMemberReference' attribute of the object.")]
  360. string MemberDN;
  361. [Description("The RootPath property specifies the local folder which joins the replication. "
  362. "It corresponds to the 'fRSRootPath' attribute of the object.")]
  363. string RootPath;
  364. [Description("The StagingPath property specifies the folder which is used to hold temporary staging files. "
  365. "It corresponds to the 'fRSStagingPath' attribute of the object.")]
  366. string StagingPath;
  367. };
  368. [Description("The MicrosoftFrs_SubscriptionSubscription class associates a subscription object "
  369. "to a subscription object. It's 1:N relationship."),
  370. dynamic,
  371. provider("MicrosoftFrsConfigProvider"),
  372. Locale (0x409)]
  373. class MicrosoftFrs_SubscriptionContain : CIM_Dependency
  374. {
  375. [Key, Min(1), Max(1)]
  376. MicrosoftFrs_Subscription REF Antecedent;
  377. [Key]
  378. MicrosoftFrs_Subscription REF Dependent;
  379. };
  380. [Description("The MicrosoftFrs_SubscriptionSubscriber class associates a subscription object "
  381. "to a subscriber object. It's 1:N relationship."),
  382. dynamic,
  383. provider("MicrosoftFrsConfigProvider"),
  384. Locale (0x409)]
  385. class MicrosoftFrs_SubscriptionSubscriber : CIM_Dependency
  386. {
  387. [Key, Min(1), Max(1)]
  388. MicrosoftFrs_Subscription REF Antecedent;
  389. [Key]
  390. MicrosoftFrs_Subscriber REF Dependent;
  391. };
  392. [Description("The MicrosoftFrs_SubscriberMember class associates a subscriber object "
  393. "to a member object. It's 1:1 relationship."),
  394. dynamic,
  395. provider("MicrosoftFrsConfigProvider"),
  396. Locale (0x409)]
  397. class MicrosoftFrs_SubscriberMember : CIM_Dependency
  398. {
  399. [Key, Min(1), Max(1)]
  400. MicrosoftFrs_Subscriber REF Antecedent;
  401. [Key, Max(1)]
  402. MicrosoftFrs_Member REF Dependent;
  403. };
  404. [Description("The MicrosoftFrs_ComputerSubscription class associates a computer object "
  405. "to a subscription object. It's 1:N relationship."),
  406. dynamic,
  407. provider("MicrosoftFrsConfigProvider"),
  408. Locale (0x409)]
  409. class MicrosoftFrs_ComputerSubscription : CIM_Dependency
  410. {
  411. [Key, Min(1), Max(1)]
  412. CIM_System REF Antecedent;
  413. [Key]
  414. MicrosoftFrs_Subscription REF Dependent;
  415. };
  416. [Description("The MicrosoftFrs_MemberComputer class associates a member object "
  417. "to a computer object. It's 1:1 relationship."),
  418. dynamic,
  419. provider("MicrosoftFrsConfigProvider"),
  420. Locale (0x409)]
  421. class MicrosoftFrs_MemberComputer : CIM_Dependency
  422. {
  423. [Key, Min(1), Max(1)]
  424. MicrosoftFrs_Member REF Antecedent;
  425. [Key, Max(1)]
  426. CIM_System REF Dependent;
  427. };
  428. [Description("The MicrosoftFrs_DfsReplicaSetMember class associates a DfsReplicaSet object "
  429. "to a DfsMember object. It's 1:N relationship."),
  430. dynamic,
  431. provider("MicrosoftFrsConfigProvider"),
  432. Locale (0x409)]
  433. class MicrosoftFrs_DfsReplicaSetMember : CIM_Dependency
  434. {
  435. [Key, Min(1), Max(1)]
  436. MicrosoftFrs_DfsReplicaSet REF Antecedent;
  437. [Key]
  438. MicrosoftFrs_DfsMember REF Dependent;
  439. };
  440. [Description("The MicrosoftFrs_SysVolReplicaSetMember class associates a SysVolReplicaSet object "
  441. "to a SysVolMember object. It's 1:N relationship."),
  442. dynamic,
  443. provider("MicrosoftFrsConfigProvider"),
  444. Locale (0x409)]
  445. class MicrosoftFrs_SysVolReplicaSetMember : CIM_Dependency
  446. {
  447. [Key, Min(1), Max(1)]
  448. MicrosoftFrs_SysVolReplicaSet REF Antecedent;
  449. [Key]
  450. MicrosoftFrs_SysVolMember REF Dependent;
  451. };
  452. [Abstract,
  453. Description("The MicrosoftFrs_Connection class associates two Member objects. "
  454. "It's 1:1 relationship."),
  455. dynamic,
  456. provider("MicrosoftFrsConfigProvider"),
  457. Locale (0x409)]
  458. class MicrosoftFrs_Connection : CIM_Dependency
  459. {
  460. [Min(1), Max(1)]
  461. MicrosoftFrs_Member REF Antecedent;
  462. [Min(1), Max(1)]
  463. MicrosoftFrs_Member REF Dependent;
  464. [Description("The FQDN property contains the fully qualified DN name of the connection object. "
  465. "It corresponds to the 'distinguishedName' attribute of the object.")]
  466. string FQDN;
  467. [Description("The ObjectGUID property contains the string-formed GUID of the connection object. "
  468. "It does not contain the curly braces. It corresponds to the 'objectGUID' attribute of the object.")]
  469. string ObjectGUID;
  470. [Description("The CreateTime property is the creation time of the object. "
  471. "It corresponds to the 'whenCreated' attribute of the object.")]
  472. DATETIME CreateTime;
  473. [Description("The LastChangeTime property is the time of the last modification of the object. "
  474. "It corresponds to the 'whenChanged' attribute of the object.")]
  475. DATETIME LastChangeTime;
  476. [Description("The ConnectionEnabled property specified whether the connection is enabled or not. "
  477. "It corresponds to the 'enabledConnection' attribute of the object.")]
  478. boolean ConnectionEnabled;
  479. [Description("The Options property is reserved."
  480. "It corresponds to the 'options' attribute of the object.")]
  481. uint32 Options;
  482. [Description("The Schedule property is the schedule setting on the connection object. "
  483. "It corresponds to the 'schedule' attribute of the object.")]
  484. binary Schedule;
  485. ///////////////////////////////////////////////////
  486. //Dynamic properties provided by the FRS service.//
  487. ///////////////////////////////////////////////////
  488. [Description("The DynFromMember property is the dns name of the member from which this "
  489. "connection is outbound." )]
  490. string DynFromMember;
  491. [Description("The DynToMember property is the dns name of the member to which this "
  492. "connection is inbound." )]
  493. string DynToMember;
  494. [Values{"CxtionStateInit","CxtionStateUnjoined","CxtionStateStart","CxtionStateStarting",
  495. "CxtionStateScanning","CxtionStateSendJoin","CxtionStateWaitJoin","CxtionStateJoined",
  496. "CxtionStateUnjoining","CxtionStateDeleted"}, Description("The DynFromState property "
  497. "is the current state of this connection on the 'From' member." )]
  498. string DynFromState;
  499. [Values{"CxtionStateInit","CxtionStateUnjoined","CxtionStateStart","CxtionStateStarting",
  500. "CxtionStateScanning","CxtionStateSendJoin","CxtionStateWaitJoin","CxtionStateJoined",
  501. "CxtionStateUnjoining","CxtionStateDeleted"}, Description("The DynToState property is"
  502. " the current state of this connection on the 'To' member." )]
  503. string DynToState;
  504. [Description("The DynNumOfInlogChanges property is the current number of change from this "
  505. "connection pending on the 'To' member be applied there." )]
  506. uint32 DynNumOfInlogChanges;
  507. [Description("The DynOutboundChanges property is the current number of change from this "
  508. "connection pending on the 'From' member to be sent to the 'To' member." )]
  509. uint32 DynOutboundChanges;
  510. [Description("The DynStagingSpaceInUse property is the MB of staging space that is currently in use "
  511. "on the 'From' member." )]
  512. uint32 DynStagingSpaceInUse;
  513. [Description("The DynOutstandingChanges property is the current number of changes that are waiting "
  514. "on the 'From' member for an acknowledgement from the 'To' member." )]
  515. uint32 DynOutstandingChanges;
  516. [Description("The DynFromLastJoinTime property is the last time the 'From' member thinks it "
  517. "joined with the 'To' member over this connection." )]
  518. String DynFromLastJoinTime;
  519. [Description("The DynToLastJoinTime property is the last time the 'To' member thinks it "
  520. "joined with the 'From' member over this connection." )]
  521. String DynToLastJoinTime;
  522. };
  523. [Description("The MicrosoftFrs_DfsConnection class associates two DfsMember objects. "
  524. "It's 1:1 relationship."),
  525. dynamic,
  526. provider("MicrosoftFrsConfigProvider"),
  527. Locale (0x409)]
  528. class MicrosoftFrs_DfsConnection : MicrosoftFrs_Connection
  529. {
  530. [Key, Min(1), Max(1)]
  531. MicrosoftFrs_DfsMember REF Antecedent;
  532. [Key, Min(1), Max(1)]
  533. MicrosoftFrs_DfsMember REF Dependent;
  534. [key, Override("FQDN")]
  535. string FQDN;
  536. };
  537. [Description("The MicrosoftFrs_SysVolConnection class associates two SysVolMember objects. "
  538. "It's 1:1 relationship."),
  539. dynamic,
  540. provider("MicrosoftFrsConfigProvider"),
  541. Locale (0x409)]
  542. class MicrosoftFrs_SysVolConnection : MicrosoftFrs_Connection
  543. {
  544. [Key, Min(1), Max(1)]
  545. MicrosoftFrs_SysVolMember REF Antecedent;
  546. [Key, Min(1), Max(1)]
  547. MicrosoftFrs_SysVolMember REF Dependent;
  548. [key, Override("FQDN")]
  549. string FQDN;
  550. };