Indicates the desired state of a resource in a connected system (a system connected to FIM by means of a management agent).

Schema

  Copy Code
<?xml version="1.0"?><xs:schema xmlns:rm="http://schemas.microsoft.com/2006/11/ResourceManagement" targetNamespace="http://schemas.microsoft.com/2006/11/ResourceManagement" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ExpectedRuleEntry">
	<xs:sequence>
	<xs:element minOccurs="0" name="ObjectID" type="rm:ReferenceType" />
	<xs:element minOccurs="1" name="ObjectType">
		<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:pattern value=".{0,448}" />
		</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element minOccurs="1" name="CreatedTime" type="xs:dateTime" />
	<xs:element minOccurs="0" name="Creator" type="rm:ReferenceType" />
	<xs:element minOccurs="0" name="MVObjectID">
		<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:pattern value=".{0,448}" />
		</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element minOccurs="0" name="DeletedTime" type="xs:dateTime" />
	<xs:element minOccurs="0" name="Description">
		<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:pattern value=".{0,448}" />
		</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element minOccurs="0" name="DetectedRulesList" type="rm:ReferenceCollectionType" />
	<xs:element minOccurs="0" name="DisplayName">
		<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:pattern value=".{0,448}" />
		</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element minOccurs="0" name="ExpectedRulesList" type="rm:ReferenceCollectionType" />
	<xs:element minOccurs="0" name="ExpirationTime" type="xs:dateTime" />
	<xs:element minOccurs="0" name="Locale">
		<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:pattern value=".{0,448}" />
		</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element minOccurs="0" name="ResourceTime" type="xs:dateTime" />
	<xs:element minOccurs="1" name="ExpectedRuleEntryAction">
		<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:pattern value="^(Add|Remove)$" />
		</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element minOccurs="0" name="ResourceParent" type="rm:ReferenceType" />
	<xs:element minOccurs="0" name="StatusError">
		<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:pattern value=".{0,448}" />
		</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element minOccurs="0" name="SynchronizationRuleData" type="rm:StringCollectionType" />
	<xs:element minOccurs="0" name="SynchronizationRuleID" type="rm:ReferenceType" />
	<xs:element minOccurs="1" name="SynchronizationRuleName">
		<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:pattern value=".{0,448}" />
		</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element minOccurs="1" name="SynchronizationRuleStatus">
		<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:pattern value="^(Applied|Not Applied|Pending)$" />
		</xs:restriction>
		</xs:simpleType>
	</xs:element>
	</xs:sequence>
  </xs:complexType>
</xs:schema>

Properties

The following table lists the properties of the ExpectedRuleEntry resource:

Property Description

ExpectedRuleEntryAction

Optional String property. Indicates whether to apply or stop applying a synchronization rule. Valid values are Add and Remove.

ResourceParent

Optional Reference to a resource. This reference points to the resource on which the synchronization rule will perform an action.

SynchronizationRuleName

Required String property. This is a unique name for the SynchronizationRule resource. The String length must be no more than 448 characters.

SynchronizationRuleStatus

Required String property. Valid values are Applied, Not Applied, and Pending.

StatusError

Optional String property. Contains error details for a failed synchronization rule.

SynchronizationRuleData

Optional StringCollection property. This is the XML data that describes the values of workflow parameters.

SynchronizationRuleID

Optional property. Reference to a SynchronizationRule resource.

Parent Elements

None

Remarks

All of the resource types in FIM have the same attribute bindings as the Resource type by default. For more information, see Forefront Identity Manager Schema.

See Also