Skip to main content

Accessprofilemetadatabulkupdatebyidrequest

Properties

NameTypeDescriptionNotes
AccessProfiles[]StringThe IDs of the access profiles 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 access profile.[required]
Values[]AccessprofilemetadatabulkupdatebyidrequestValuesInnerThe metadata to be updated, including attribute key and value.[required]

Examples

  • Prepare the resource
$Accessprofilemetadatabulkupdatebyidrequest = Initialize-Accessprofilemetadatabulkupdatebyidrequest -AccessProfiles ["b1db89554cfa431cb8b9921ea38d9367"] `
-Operation REPLACE `
-ReplaceScope ATTRIBUTE `
-Values [{"attribute":"iscFederalClassifications","values":["topSecret"]}]
  • Convert the resource to JSON
$Accessprofilemetadatabulkupdatebyidrequest | ConvertTo-JSON

[Back to top]