Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ComputeRackUnit" /> class.
 /// </summary>
 /// <param name="Ancestors">Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. .</param>
 /// <param name="Moid">A unique identifier of this Managed Object instance.  .</param>
 /// <param name="Owners">An array of owners which represent effective ownership of this object.   .</param>
 /// <param name="Parent">The direct ancestor of this managed object in the containment hierarchy. .</param>
 /// <param name="Tags">An array of tags, which allow to add key, value meta-data to managed objects.  .</param>
 /// <param name="VersionContext">The versioning info for this managed object   .</param>
 /// <param name="FaultSummary">FaultSummary.</param>
 /// <param name="KvmIpAddresses">KvmIpAddresses.</param>
 /// <param name="PlatformType">PlatformType.</param>
 /// <param name="Adapters">Adapters.</param>
 /// <param name="Biosunits">Biosunits.</param>
 /// <param name="Bmc">Bmc.</param>
 /// <param name="Board">Board.</param>
 /// <param name="Fanmodules">Fanmodules.</param>
 /// <param name="GenericInventoryHolders">GenericInventoryHolders.</param>
 /// <param name="LocatorLed">LocatorLed.</param>
 /// <param name="PciDevices">PciDevices.</param>
 /// <param name="Psus">Psus.</param>
 /// <param name="RackEnclosureSlot">RackEnclosureSlot.</param>
 /// <param name="RegisteredDevice">RegisteredDevice.</param>
 /// <param name="SasExpanders">SasExpanders.</param>
 /// <param name="StorageEnclosures">StorageEnclosures.</param>
 /// <param name="TopSystem">TopSystem.</param>
 public ComputeRackUnit(List <MoBaseMoRef> Ancestors = default(List <MoBaseMoRef>), string Moid = default(string), List <string> Owners = default(List <string>), MoBaseMoRef Parent = default(MoBaseMoRef), List <MoTag> Tags = default(List <MoTag>), MoVersionContext VersionContext = default(MoVersionContext), long?FaultSummary = default(long?), List <ComputeIpAddress> KvmIpAddresses = default(List <ComputeIpAddress>), string PlatformType = default(string), List <AdapterUnitRef> Adapters = default(List <AdapterUnitRef>), List <BiosUnitRef> Biosunits = default(List <BiosUnitRef>), ManagementControllerRef Bmc = default(ManagementControllerRef), ComputeBoardRef Board = default(ComputeBoardRef), List <EquipmentFanModuleRef> Fanmodules = default(List <EquipmentFanModuleRef>), List <InventoryGenericInventoryHolderRef> GenericInventoryHolders = default(List <InventoryGenericInventoryHolderRef>), EquipmentLocatorLedRef LocatorLed = default(EquipmentLocatorLedRef), List <PciDeviceRef> PciDevices = default(List <PciDeviceRef>), List <EquipmentPsuRef> Psus = default(List <EquipmentPsuRef>), EquipmentRackEnclosureSlotRef RackEnclosureSlot = default(EquipmentRackEnclosureSlotRef), AssetDeviceRegistrationRef RegisteredDevice = default(AssetDeviceRegistrationRef), List <StorageSasExpanderRef> SasExpanders = default(List <StorageSasExpanderRef>), List <StorageEnclosureRef> StorageEnclosures = default(List <StorageEnclosureRef>), TopSystemRef TopSystem = default(TopSystemRef))
 {
     this.Ancestors               = Ancestors;
     this.Moid                    = Moid;
     this.Owners                  = Owners;
     this.Parent                  = Parent;
     this.Tags                    = Tags;
     this.VersionContext          = VersionContext;
     this.FaultSummary            = FaultSummary;
     this.KvmIpAddresses          = KvmIpAddresses;
     this.PlatformType            = PlatformType;
     this.Adapters                = Adapters;
     this.Biosunits               = Biosunits;
     this.Bmc                     = Bmc;
     this.Board                   = Board;
     this.Fanmodules              = Fanmodules;
     this.GenericInventoryHolders = GenericInventoryHolders;
     this.LocatorLed              = LocatorLed;
     this.PciDevices              = PciDevices;
     this.Psus                    = Psus;
     this.RackEnclosureSlot       = RackEnclosureSlot;
     this.RegisteredDevice        = RegisteredDevice;
     this.SasExpanders            = SasExpanders;
     this.StorageEnclosures       = StorageEnclosures;
     this.TopSystem               = TopSystem;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StoragePhysicalDisk" /> class.
 /// </summary>
 /// <param name="Ancestors">Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. .</param>
 /// <param name="Moid">A unique identifier of this Managed Object instance.  .</param>
 /// <param name="Owners">An array of owners which represent effective ownership of this object.   .</param>
 /// <param name="Parent">The direct ancestor of this managed object in the containment hierarchy. .</param>
 /// <param name="Tags">An array of tags, which allow to add key, value meta-data to managed objects.  .</param>
 /// <param name="VersionContext">The versioning info for this managed object   .</param>
 /// <param name="DriveFirmware">DriveFirmware.</param>
 /// <param name="FdeCapable">FdeCapable.</param>
 /// <param name="LocatorLed">LocatorLed.</param>
 /// <param name="PhysicalDiskExtension">PhysicalDiskExtension.</param>
 /// <param name="RegisteredDevice">RegisteredDevice.</param>
 /// <param name="RunningFirmware">RunningFirmware.</param>
 /// <param name="StorageController">StorageController.</param>
 /// <param name="StorageEnclosure">StorageEnclosure.</param>
 public StoragePhysicalDisk(List <MoBaseMoRef> Ancestors = default(List <MoBaseMoRef>), string Moid = default(string), List <string> Owners = default(List <string>), MoBaseMoRef Parent = default(MoBaseMoRef), List <MoTag> Tags = default(List <MoTag>), MoVersionContext VersionContext = default(MoVersionContext), string DriveFirmware = default(string), string FdeCapable = default(string), EquipmentLocatorLedRef LocatorLed = default(EquipmentLocatorLedRef), StoragePhysicalDiskExtensionRef PhysicalDiskExtension = default(StoragePhysicalDiskExtensionRef), AssetDeviceRegistrationRef RegisteredDevice = default(AssetDeviceRegistrationRef), List <FirmwareRunningFirmwareRef> RunningFirmware = default(List <FirmwareRunningFirmwareRef>), StorageControllerRef StorageController = default(StorageControllerRef), StorageEnclosureRef StorageEnclosure = default(StorageEnclosureRef))
 {
     this.Ancestors             = Ancestors;
     this.Moid                  = Moid;
     this.Owners                = Owners;
     this.Parent                = Parent;
     this.Tags                  = Tags;
     this.VersionContext        = VersionContext;
     this.DriveFirmware         = DriveFirmware;
     this.FdeCapable            = FdeCapable;
     this.LocatorLed            = LocatorLed;
     this.PhysicalDiskExtension = PhysicalDiskExtension;
     this.RegisteredDevice      = RegisteredDevice;
     this.RunningFirmware       = RunningFirmware;
     this.StorageController     = StorageController;
     this.StorageEnclosure      = StorageEnclosure;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ComputeServerSetting" /> class.
 /// </summary>
 /// <param name="Ancestors">Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. .</param>
 /// <param name="Moid">A unique identifier of this Managed Object instance.  .</param>
 /// <param name="Owners">An array of owners which represent effective ownership of this object.   .</param>
 /// <param name="Parent">The direct ancestor of this managed object in the containment hierarchy. .</param>
 /// <param name="Tags">An array of tags, which allow to add key, value meta-data to managed objects.   .</param>
 /// <param name="AdminLocatorLedState">User configured state of the locator LED for the server   (default to AdminLocatorLedStateEnum.None).</param>
 /// <param name="AdminPowerState">User configured power state of the server   (default to AdminPowerStateEnum.Policy).</param>
 /// <param name="LocatorLed">This relation stores a reference to locator LED MO of this server .</param>
 /// <param name="RegisteredDevice">This relation stores the device end point from which this server was discovered .</param>
 /// <param name="Server">Server.</param>
 /// <param name="ServerConfig">The common server configurable properties between a server and a server profile   .</param>
 public ComputeServerSetting(List <MoBaseMoRef> Ancestors = default(List <MoBaseMoRef>), string Moid = default(string), List <string> Owners = default(List <string>), MoBaseMoRef Parent = default(MoBaseMoRef), List <MoTag> Tags = default(List <MoTag>), AdminLocatorLedStateEnum?AdminLocatorLedState = AdminLocatorLedStateEnum.None, AdminPowerStateEnum?AdminPowerState = AdminPowerStateEnum.Policy, EquipmentLocatorLedRef LocatorLed = default(EquipmentLocatorLedRef), AssetDeviceRegistrationRef RegisteredDevice = default(AssetDeviceRegistrationRef), ComputeRackUnitRef Server = default(ComputeRackUnitRef), ComputeServerConfig ServerConfig = default(ComputeServerConfig))
 {
     this.Ancestors = Ancestors;
     this.Moid      = Moid;
     this.Owners    = Owners;
     this.Parent    = Parent;
     this.Tags      = Tags;
     // use default value if no "AdminLocatorLedState" provided
     if (AdminLocatorLedState == null)
     {
         this.AdminLocatorLedState = AdminLocatorLedStateEnum.None;
     }
     else
     {
         this.AdminLocatorLedState = AdminLocatorLedState;
     }
     // use default value if no "AdminPowerState" provided
     if (AdminPowerState == null)
     {
         this.AdminPowerState = AdminPowerStateEnum.Policy;
     }
     else
     {
         this.AdminPowerState = AdminPowerState;
     }
     this.LocatorLed       = LocatorLed;
     this.RegisteredDevice = RegisteredDevice;
     this.Server           = Server;
     this.ServerConfig     = ServerConfig;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ComputeBlade" /> class.
 /// </summary>
 /// <param name="Ancestors">Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. .</param>
 /// <param name="Moid">A unique identifier of this Managed Object instance.  .</param>
 /// <param name="Owners">An array of owners which represent effective ownership of this object.   .</param>
 /// <param name="Parent">The direct ancestor of this managed object in the containment hierarchy. .</param>
 /// <param name="Tags">An array of tags, which allow to add key, value meta-data to managed objects.   .</param>
 /// <param name="FaultSummary">FaultSummary.</param>
 /// <param name="KvmIpAddresses">KvmIpAddresses.</param>
 /// <param name="PlatformType">PlatformType.</param>
 /// <param name="Adapters">Adapters.</param>
 /// <param name="BiosUnits">BiosUnits.</param>
 /// <param name="Bmc">Bmc.</param>
 /// <param name="Board">Board.</param>
 /// <param name="EquipmentChassis">EquipmentChassis.</param>
 /// <param name="GenericInventoryHolders">GenericInventoryHolders.</param>
 /// <param name="LocatorLed">LocatorLed.</param>
 /// <param name="RegisteredDevice">RegisteredDevice.</param>
 /// <param name="StorageEnclosures">StorageEnclosures.</param>
 /// <param name="TopSystem">TopSystem.</param>
 public ComputeBlade(List <MoBaseMoRef> Ancestors = default(List <MoBaseMoRef>), string Moid = default(string), List <string> Owners = default(List <string>), MoBaseMoRef Parent = default(MoBaseMoRef), List <MoTag> Tags = default(List <MoTag>), long?FaultSummary = default(long?), List <ComputeIpAddress> KvmIpAddresses = default(List <ComputeIpAddress>), string PlatformType = default(string), List <AdapterUnitRef> Adapters = default(List <AdapterUnitRef>), List <BiosUnitRef> BiosUnits = default(List <BiosUnitRef>), ManagementControllerRef Bmc = default(ManagementControllerRef), ComputeBoardRef Board = default(ComputeBoardRef), EquipmentChassisRef EquipmentChassis = default(EquipmentChassisRef), List <InventoryGenericInventoryHolderRef> GenericInventoryHolders = default(List <InventoryGenericInventoryHolderRef>), EquipmentLocatorLedRef LocatorLed = default(EquipmentLocatorLedRef), AssetDeviceRegistrationRef RegisteredDevice = default(AssetDeviceRegistrationRef), List <StorageEnclosureRef> StorageEnclosures = default(List <StorageEnclosureRef>), TopSystemRef TopSystem = default(TopSystemRef))
 {
     this.Ancestors               = Ancestors;
     this.Moid                    = Moid;
     this.Owners                  = Owners;
     this.Parent                  = Parent;
     this.Tags                    = Tags;
     this.FaultSummary            = FaultSummary;
     this.KvmIpAddresses          = KvmIpAddresses;
     this.PlatformType            = PlatformType;
     this.Adapters                = Adapters;
     this.BiosUnits               = BiosUnits;
     this.Bmc                     = Bmc;
     this.Board                   = Board;
     this.EquipmentChassis        = EquipmentChassis;
     this.GenericInventoryHolders = GenericInventoryHolders;
     this.LocatorLed              = LocatorLed;
     this.RegisteredDevice        = RegisteredDevice;
     this.StorageEnclosures       = StorageEnclosures;
     this.TopSystem               = TopSystem;
 }