Skip to main content

UpdatePolicyData class

This data object contains high-level information about an update compliance-policy.

Namespace: Lenovo.XClarityOrchestrator.PowerShell.Data

Assembly: Lenovo.XClarityOrchestrator.PowerShell.Data

Properties

public string Name { get; set; }
Policy name.
public string Id { get; set; }
Policy ID
public string Type { get; set; }
Policy type (translated). This can be one of the following values.
  • Predefined. The policy was provided by XClarity Orchestrator.
  • UserDefined. The policy was created by a user.
public string Description { get; set; }
Policy description
public string ComplianceRule { get; set; }
Indicates when to flag a resource as non-compliant. This can be one of the following values.
  • DoNotFlag. Devices that are out of compliance are not flagged
  • FlagIfNotExactMatch. If the software or firmware level that is installed on a resource is not an exact match with the update-compliance policy, the resource is flagged as non-compliant. For example, if you replace a network adapter in a server, and the firmware on that network adapter is different than the level identified in the update-compliance policy, then the server is flagged as non-compliant.
public DateTime? CreationTimestamp { get; set; }
Timestamp when the policy was created
public DateTime? LastEditTimestamp { get; set; }
Timestamp when the policy was edited last
public string Assigned { get; set; }
Policy assignment. This can be one of the following values.
  • Assigned. The policy is assigned to a resource.
  • NotAssigned. The policy is not assigned to a resource.

Methods

public virtual bool Equals (object obj);
Determines whether the specified object is equal to the current object.

(Inherited from System.Object)

public virtual int GetHashCode ();
Serves as the default hash function

(Inherited from System.Object)

public Type GetType ();
Gets the System.Type of the current instance

(Inherited from System.Object)

public virtual string ToString ();
Returns a string that represents the current object.

(Inherited from System.Object)