245 lines
7.2 KiB
C#

//----------------------------------------------------------------------------
//
// Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved.
//
// File: AMT_RemoteAccessCapabilities.cs
//
// Contents: Represents the Remote Access feature capabilities.
// This file was automatically generated from AMT_RemoteAccessCapabilities.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
{
/// <summary>
///Represents the Remote Access feature capabilities.
/// </summary>
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_RemoteAccessCapabilities")]
[System.Xml.Serialization.XmlRootAttribute("AMT_RemoteAccessCapabilities", Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_RemoteAccessCapabilities", IsNullable=false)]
public class AMT_RemoteAccessCapabilities : CIM_Capabilities
{
/// <summary>
/// Default constructor.
/// </summary>
public AMT_RemoteAccessCapabilities() :base()
{
}
/// <summary>
/// Constructor that recieves an xml string for deserialization.
/// </summary>
/// <param name="xml">xml string to deserialize</param>
public AMT_RemoteAccessCapabilities(string xml): base((IWSManClient)null)
{
this.Deserialize(xml);
}
/// <summary>
/// Constructor which recieves a Ws-Management client object.
/// </summary>
/// <param name="client">Ws-Management client</param>
public AMT_RemoteAccessCapabilities(IWSManClient client): base(client)
{
}
/// <summary>
/// Remove MaxMpsPerPolicy field.
/// Note: This method will succeed only if this field is optional in the concrete object.
/// </summary>
public virtual void RemoveMaxMpsPerPolicy()
{
RemoveField("MaxMpsPerPolicy");
}
/// <summary>
/// Is true if the field MaxMpsPerPolicy exists in the current object,
/// otherwise is false.
/// </summary>
public virtual bool MaxMpsPerPolicyExist
{
get
{
return ContainsField("MaxMpsPerPolicy");
}
}
/// <summary>
/// Optional, The maximum number of MpServers that can be associated with a remote access policy for Intel(R) AMT device.
/// </summary>
[CimField(false, false)]
public virtual uint MaxMpsPerPolicy
{
get
{
return uint.Parse(this["MaxMpsPerPolicy"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("MaxMpsPerPolicy",value.ToString(CultureInfo.InvariantCulture));
}
}
/// <summary>
/// Remove MaxTotalMpServers field.
/// Note: This method will succeed only if this field is optional in the concrete object.
/// </summary>
public virtual void RemoveMaxTotalMpServers()
{
RemoveField("MaxTotalMpServers");
}
/// <summary>
/// Is true if the field MaxTotalMpServers exists in the current object,
/// otherwise is false.
/// </summary>
public virtual bool MaxTotalMpServersExist
{
get
{
return ContainsField("MaxTotalMpServers");
}
}
/// <summary>
/// Optional, The maximum number of MpServers that can be configured on the Intel(R) AMT device for remote access.
/// </summary>
[CimField(false, false)]
public virtual uint MaxTotalMpServers
{
get
{
return uint.Parse(this["MaxTotalMpServers"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("MaxTotalMpServers",value.ToString(CultureInfo.InvariantCulture));
}
}
/// <summary>
/// Remove MaxTotalPolicies field.
/// Note: This method will succeed only if this field is optional in the concrete object.
/// </summary>
public virtual void RemoveMaxTotalPolicies()
{
RemoveField("MaxTotalPolicies");
}
/// <summary>
/// Is true if the field MaxTotalPolicies exists in the current object,
/// otherwise is false.
/// </summary>
public virtual bool MaxTotalPoliciesExist
{
get
{
return ContainsField("MaxTotalPolicies");
}
}
/// <summary>
/// Optional, The maximum number of remote access policies that can be defined (altogether) on the Intel(R) AMT device.
/// </summary>
[CimField(false, false)]
public virtual uint MaxTotalPolicies
{
get
{
return uint.Parse(this["MaxTotalPolicies"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("MaxTotalPolicies",value.ToString(CultureInfo.InvariantCulture));
}
}
/// <summary>
/// Remove MaxTotalProxyEntryPoints field.
/// Note: This method will succeed only if this field is optional in the concrete object.
/// </summary>
public virtual void RemoveMaxTotalProxyEntryPoints()
{
RemoveField("MaxTotalProxyEntryPoints");
}
/// <summary>
/// Is true if the field MaxTotalProxyEntryPoints exists in the current object,
/// otherwise is false.
/// </summary>
public virtual bool MaxTotalProxyEntryPointsExist
{
get
{
return ContainsField("MaxTotalProxyEntryPoints");
}
}
/// <summary>
/// Optional, The maximum number of Proxy Entry Points that can be configured on the Intel(R) AMT device for remote access.
/// </summary>
[CimField(false, false)]
public virtual uint MaxTotalProxyEntryPoints
{
get
{
return uint.Parse(this["MaxTotalProxyEntryPoints"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("MaxTotalProxyEntryPoints",value.ToString(CultureInfo.InvariantCulture));
}
}
/// <summary>
/// Enumerate instances of AMT_RemoteAccessCapabilities class at an endpoint.
/// </summary>
/// <param name="client">WS-Management client</param>
/// <param name="cimKeys">Keys for selecting the instances</param>
/// <returns>Collection of AMT_RemoteAccessCapabilities objects</returns>
public static new Collection<AMT_RemoteAccessCapabilities> Enumerate(IWSManClient client, CimBase.CimKeys cimKeys)
{
List<AMT_RemoteAccessCapabilities> ret = CimBase.Enumerate<AMT_RemoteAccessCapabilities>(client, cimKeys);
return new Collection<AMT_RemoteAccessCapabilities>(ret);
}
/// <summary>
/// Enumerate instances of AMT_RemoteAccessCapabilities class at an endpoint.
/// </summary>
/// <param name="client">WS-Management client</param>
/// <returns>Collection of AMT_RemoteAccessCapabilities objects</returns>
public static new Collection<AMT_RemoteAccessCapabilities> Enumerate(IWSManClient client)
{
List<AMT_RemoteAccessCapabilities> ret = CimBase.Enumerate<AMT_RemoteAccessCapabilities>(client);
return new Collection<AMT_RemoteAccessCapabilities>(ret);
}
/// <summary>
/// Delete the instance of AMT_RemoteAccessCapabilities if it is singular.
/// Note: This method will succeed only if a single instance of the class exists.
/// </summary>
/// <param name="client">WS-Management client</param>
public static new void Delete(IWSManClient client)
{
CimBase.Delete<AMT_RemoteAccessCapabilities>(client);
}
/// <summary>
/// Represents the keys of the AMT_RemoteAccessCapabilities class.
/// </summary>
public new class CimKeys : CIM_Capabilities.CimKeys
{
}
}
}