MachineAccountBulkUpdateRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Ids | []String | IDs of the machine accounts to update. Provide between 1 and 100 IDs. | [required] |
| JsonPatch | []JsonPatchOperation | JSON Patch operations to apply to every machine account in ids. Each operation must target one of these top-level fields: description, subtype, environment, machineIdentity, ownerIdentity, manuallyEdited. | [required] |
Examples
- Prepare the resource
$MachineAccountBulkUpdateRequest = Initialize-MachineAccountBulkUpdateRequest -Ids ["ef38f94347e94562b5bb8424a56397d8","2c9180835d2e5168015d32f890ca1581"] `
-JsonPatch [{"op":"replace","path":"/environment","value":"PROD"}]
- Convert the resource to JSON
$MachineAccountBulkUpdateRequest | ConvertTo-JSON