//---------------------------------------------------------------------------- // // Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved. // // File: CIM_AdminDomain.cs // // Contents: This is a special grouping of ManagedSystemElements. The grouping is viewed as a single entity, reflecting that all of its components are administered similarly, either by the same user, group of users, or policy. It serves as an aggregation point to associate one or more of the following elements: network devices, such as routers and switches, servers, and other resources that can be accessed by end systems. This grouping of devices plays an essential role in ensuring that the same administrative policy and actions are applied to all of the devices in the grouping. The specific behavior and/or semantics of the AdminDomain can be identified through its aggregated and associated entities. // This file was automatically generated from CIM_AdminDomain.mof // //---------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using System.Globalization; using System.Xml.Serialization; using System.IO; using Intel.Manageability.WSManagement; using Intel.Manageability.Cim.Untyped; namespace Intel.Manageability.Cim.Typed { /// ///This is a special grouping of ManagedSystemElements. The grouping is viewed as a single entity, reflecting that all of its components are administered similarly, either by the same user, group of users, or policy. It serves as an aggregation point to associate one or more of the following elements: network devices, such as routers and switches, servers, and other resources that can be accessed by end systems. This grouping of devices plays an essential role in ensuring that the same administrative policy and actions are applied to all of the devices in the grouping. The specific behavior and/or semantics of the AdminDomain can be identified through its aggregated and associated entities. /// [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_AdminDomain")] [System.Xml.Serialization.XmlRootAttribute("CIM_AdminDomain", Namespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_AdminDomain", IsNullable=false)] public class CIM_AdminDomain : CIM_System { /// /// Default constructor. /// public CIM_AdminDomain() :base() { } /// /// Constructor that recieves an xml string for deserialization. /// /// xml string to deserialize public CIM_AdminDomain(string xml): base((IWSManClient)null) { this.Deserialize(xml); } /// /// Constructor which recieves a Ws-Management client object. /// /// Ws-Management client public CIM_AdminDomain(IWSManClient client): base(client) { } /// /// Remove NameFormat field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public override void RemoveNameFormat() { RemoveField("NameFormat"); } /// /// Is true if the field NameFormat exists in the current object, /// otherwise is false. /// public override bool NameFormatExist { get { return ContainsField("NameFormat"); } } /// /// Optional, The NameFormat property identifies how the Name of the AdminDomain is generated, using the heuristic specified in the CIM V2 System Model specification. The property assumes that to determine and assign a Name the documented rules are traversed in order. The NameFormat Values list defines the precedence order for assigning the Name of the AdminDomain. /// /// "FC" has been deprecated and replaced by "WWN" to be consistent with the other ValueMaps. /// [CimField(false, false)] public override string NameFormat { get { return this.GetField("NameFormat")[0]; } set { this.SetOrAddField("NameFormat",value); } } /// /// Enumerate instances of CIM_AdminDomain class at an endpoint. /// /// WS-Management client /// Keys for selecting the instances /// Collection of CIM_AdminDomain objects public static new Collection Enumerate(IWSManClient client, CimBase.CimKeys cimKeys) { List ret = CimBase.Enumerate(client, cimKeys); return new Collection(ret); } /// /// Enumerate instances of CIM_AdminDomain class at an endpoint. /// /// WS-Management client /// Collection of CIM_AdminDomain objects public static new Collection Enumerate(IWSManClient client) { List ret = CimBase.Enumerate(client); return new Collection(ret); } /// /// Delete the instance of CIM_AdminDomain if it is singular. /// Note: This method will succeed only if a single instance of the class exists. /// /// WS-Management client public static new void Delete(IWSManClient client) { CimBase.Delete(client); } /// /// Represents the keys of the CIM_AdminDomain class. /// public new class CimKeys : CIM_System.CimKeys { } } }