<ResourceOperation> element
The <ResourceOperation>
element defines an update, add, or remove operation on a resource.
XML Attribute Name | Description | Allowed Values |
---|---|---|
operation | Required. The type of operation to perform on the resource | "Add", "Update", "Delete" or a combined "Add Update" which will create the resource if it doesn't exist, or update it if it does |
resourceType | Required. The object type of the resource to modify | Any valid resource type defined in the FIM service schema |
id | Required. A unique ID to identify the ResourceOperation | Any string value that is not in use by another ResourceOperation element |
refresh-schema | Optional. Instructs the module to refresh the schema before or after the operation. This should be used when adding object classes, attributes, or bindings | "before-operation" or "after-operation" |
locale | Optional. Specifies the locale the resource operation should be performed in. Only valid for update operations. | A language code representing a language pack installed on the FIM/MIM Service. e.g en-US, de-de, ja-jp, es-es, it-it, etc |
### Child elements | ||
The |
Example
The following example defines an Add operation on a set. If the set exists, the operation is skipped
The following example defines an Add/Update operation on a set. If the set exists, the set is updated. If it does not exist, it is created
The following example defines an Update operation on a set. If the set exists, the set is updated. If it does not exist, the operation is skipped
The following example defines an Delete operation on a set. If the set exists, the set is deleted. If it does not exist, the operation is skipped
Last updated