//----------------------------------------------------------------------------
//
// 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
{
///
///Represents the Remote Access feature capabilities.
///
[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
{
///
/// Default constructor.
///
public AMT_RemoteAccessCapabilities() :base()
{
}
///
/// Constructor that recieves an xml string for deserialization.
///
/// xml string to deserialize
public AMT_RemoteAccessCapabilities(string xml): base((IWSManClient)null)
{
this.Deserialize(xml);
}
///
/// Constructor which recieves a Ws-Management client object.
///
/// Ws-Management client
public AMT_RemoteAccessCapabilities(IWSManClient client): base(client)
{
}
///
/// Remove MaxMpsPerPolicy field.
/// Note: This method will succeed only if this field is optional in the concrete object.
///
public virtual void RemoveMaxMpsPerPolicy()
{
RemoveField("MaxMpsPerPolicy");
}
///
/// Is true if the field MaxMpsPerPolicy exists in the current object,
/// otherwise is false.
///
public virtual bool MaxMpsPerPolicyExist
{
get
{
return ContainsField("MaxMpsPerPolicy");
}
}
///
/// Optional, The maximum number of MpServers that can be associated with a remote access policy for Intel(R) AMT device.
///
[CimField(false, false)]
public virtual uint MaxMpsPerPolicy
{
get
{
return uint.Parse(this["MaxMpsPerPolicy"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("MaxMpsPerPolicy",value.ToString(CultureInfo.InvariantCulture));
}
}
///
/// Remove MaxTotalMpServers field.
/// Note: This method will succeed only if this field is optional in the concrete object.
///
public virtual void RemoveMaxTotalMpServers()
{
RemoveField("MaxTotalMpServers");
}
///
/// Is true if the field MaxTotalMpServers exists in the current object,
/// otherwise is false.
///
public virtual bool MaxTotalMpServersExist
{
get
{
return ContainsField("MaxTotalMpServers");
}
}
///
/// Optional, The maximum number of MpServers that can be configured on the Intel(R) AMT device for remote access.
///
[CimField(false, false)]
public virtual uint MaxTotalMpServers
{
get
{
return uint.Parse(this["MaxTotalMpServers"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("MaxTotalMpServers",value.ToString(CultureInfo.InvariantCulture));
}
}
///
/// Remove MaxTotalPolicies field.
/// Note: This method will succeed only if this field is optional in the concrete object.
///
public virtual void RemoveMaxTotalPolicies()
{
RemoveField("MaxTotalPolicies");
}
///
/// Is true if the field MaxTotalPolicies exists in the current object,
/// otherwise is false.
///
public virtual bool MaxTotalPoliciesExist
{
get
{
return ContainsField("MaxTotalPolicies");
}
}
///
/// Optional, The maximum number of remote access policies that can be defined (altogether) on the Intel(R) AMT device.
///
[CimField(false, false)]
public virtual uint MaxTotalPolicies
{
get
{
return uint.Parse(this["MaxTotalPolicies"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("MaxTotalPolicies",value.ToString(CultureInfo.InvariantCulture));
}
}
///
/// Remove MaxTotalProxyEntryPoints field.
/// Note: This method will succeed only if this field is optional in the concrete object.
///
public virtual void RemoveMaxTotalProxyEntryPoints()
{
RemoveField("MaxTotalProxyEntryPoints");
}
///
/// Is true if the field MaxTotalProxyEntryPoints exists in the current object,
/// otherwise is false.
///
public virtual bool MaxTotalProxyEntryPointsExist
{
get
{
return ContainsField("MaxTotalProxyEntryPoints");
}
}
///
/// Optional, The maximum number of Proxy Entry Points that can be configured on the Intel(R) AMT device for remote access.
///
[CimField(false, false)]
public virtual uint MaxTotalProxyEntryPoints
{
get
{
return uint.Parse(this["MaxTotalProxyEntryPoints"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("MaxTotalProxyEntryPoints",value.ToString(CultureInfo.InvariantCulture));
}
}
///
/// Enumerate instances of AMT_RemoteAccessCapabilities class at an endpoint.
///
/// WS-Management client
/// Keys for selecting the instances
/// Collection of AMT_RemoteAccessCapabilities objects
public static new Collection Enumerate(IWSManClient client, CimBase.CimKeys cimKeys)
{
List ret = CimBase.Enumerate(client, cimKeys);
return new Collection(ret);
}
///
/// Enumerate instances of AMT_RemoteAccessCapabilities class at an endpoint.
///
/// WS-Management client
/// Collection of AMT_RemoteAccessCapabilities objects
public static new Collection Enumerate(IWSManClient client)
{
List ret = CimBase.Enumerate(client);
return new Collection(ret);
}
///
/// Delete the instance of AMT_RemoteAccessCapabilities 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 AMT_RemoteAccessCapabilities class.
///
public new class CimKeys : CIM_Capabilities.CimKeys
{
}
}
}