Skip to main content

ParameterStorageJsonPatch

Properties

NameTypeDescriptionNotes
OpEnum [ "add", "remove", "replace", "move", "copy", "test" ]The operation to perform (add, remove, replace, move, copy, test)[required]
PathStringA JSON-Pointer describing the target location[required]
Value[SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0The value to be used within the operations. Required for add/replace/test.[optional]
VarFromStringA JSON-Pointer describing the source location for move/copy.[optional]

Examples

  • Prepare the resource
$ParameterStorageJsonPatch = Initialize-V2025ParameterStorageJsonPatch  -Op replace `
-Path /name `
-Value Credentials for server. `
-VarFrom /description
  • Convert the resource to JSON
$ParameterStorageJsonPatch | ConvertTo-JSON

[Back to top]