Skip to main content

Objectmappingbulkpatchrequest

Properties

NameTypeDescriptionNotes
Patchesmap[string]Jsonpatchoperation[]Map of id of the object mapping to a JsonPatchOperation describing what to patch on that object mapping.[required]

Examples

  • Prepare the resource
$Objectmappingbulkpatchrequest = Initialize-Objectmappingbulkpatchrequest  -Patches {"603b1a61-d03d-4ed1-864f-a508fbd1995d":[{"op":"replace","path":"/enabled","value":true}],"00bece34-f50d-4227-8878-76f620b5a971":[{"op":"replace","path":"/targetValue","value":"New Target Value"}]}
  • Convert the resource to JSON
$Objectmappingbulkpatchrequest | ConvertTo-JSON

[Back to top]