Rolemetadatabulkupdatebyqueryrequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Query | [SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0 | query the identities to be updated | [required] |
| Operation | Enum [ "ADD", "REMOVE", "REPLACE" ] | The operation to be performed | [required] |
| ReplaceScope | Enum [ "ALL", "ATTRIBUTE" ] | The choice of update scope. | [optional] |
| Values | []RolemetadatabulkupdatebyqueryrequestValuesInner | The metadata to be updated, including attribute key and value. | [required] |
Examples
- Prepare the resource
$Rolemetadatabulkupdatebyqueryrequest = Initialize-Rolemetadatabulkupdatebyqueryrequest -Query {"query\"":{"indices":["roles"],"queryType":"TEXT","textQuery":{"terms":["test123"],"fields":["id"],"matchAny":false,"contains":true},"includeNested":false}} `
-Operation REPLACE `
-ReplaceScope ALL `
-Values null
- Convert the resource to JSON
$Rolemetadatabulkupdatebyqueryrequest | ConvertTo-JSON