Skip to main content

Rolemetadatabulkupdatebyfilterrequest

Properties

NameTypeDescriptionNotes
FiltersStringFiltering is supported for the following fields and operators: id : eq, in name : eq, sw created : gt, lt, ge, le modified : gt, lt, ge, le owner.id : eq, in requestable : eq[required]
OperationEnum [ "ADD", "REMOVE", "REPLACE" ]The operation to be performed[required]
ReplaceScopeEnum [ "ALL", "ATTRIBUTE" ]The choice of update scope.[optional]
Values[]RolemetadatabulkupdatebyfilterrequestValuesInnerThe metadata to be updated, including attribute key and value.[required]

Examples

  • Prepare the resource
$Rolemetadatabulkupdatebyfilterrequest = Initialize-Rolemetadatabulkupdatebyfilterrequest  -Filters  requestable eq false `
-Operation REPLACE `
-ReplaceScope ALL `
-Values [{"attribute":"iscFederalClassifications","values":["topSecret"]}]
  • Convert the resource to JSON
$Rolemetadatabulkupdatebyfilterrequest | ConvertTo-JSON

[Back to top]