Skip to main content

Entitlementmetadatabulkupdatebyidrequest

Properties

NameTypeDescriptionNotes
Entitlements[]StringThe IDs of the entitlements to update.[required]
OperationEnum [ "ADD", "REMOVE", "REPLACE" ]The operation to be performed[required]
ReplaceScopeEnum [ "ALL", "ATTRIBUTE" ]The choice of update scope. ATTRIBUTE replaces only the values of the attributes named in values, and ALL replaces every metadata attribute on the entitlement.[optional]
Values[]EntitlementmetadatabulkupdatebyidrequestValuesInnerThe metadata to be updated, including attribute key and value.[required]

Examples

  • Prepare the resource
$Entitlementmetadatabulkupdatebyidrequest = Initialize-Entitlementmetadatabulkupdatebyidrequest -Entitlements ["2c9180867817ac4d017817c491119a20","2c9180867817ac4d017817c491119a21"] `
-Operation REPLACE `
-ReplaceScope ATTRIBUTE `
-Values [{"attribute":"iscFederalClassifications","values":["topSecret"]}]
  • Convert the resource to JSON
$Entitlementmetadatabulkupdatebyidrequest | ConvertTo-JSON

[Back to top]