Files
developer.sailpoint.com/docs/tools/sdk/powershell/Reference/V3/Models/TextQuery.md
2025-05-07 14:37:48 +00:00

1.3 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
text-query TextQuery TextQuery TextQuery powershellsdk
powershell
PowerShell
sdk
TextQuery
TextQuery
/tools/sdk/powershell/v3/models/text-query
SDK
Software Development Kit
TextQuery
TextQuery

TextQuery

Properties

Name Type Description Notes
Terms []String Words or characters that specify a particular thing to be searched for. [required]
Fields []String The fields to be searched. [required]
MatchAny Boolean Indicates that at least one of the terms must be found in the specified fields; otherwise, all terms must be found. [optional] [default to $false]
Contains Boolean Indicates that the terms can be located anywhere in the specified fields; otherwise, the fields must begin with the terms. [optional] [default to $false]

Examples

  • Prepare the resource
$TextQuery = Initialize-TextQuery  -Terms [The quick brown fox, 3141592, 7] `
 -Fields [displayName, employeeNumber, roleCount] `
 -MatchAny false `
 -Contains true
  • Convert the resource to JSON
$TextQuery | ConvertTo-JSON

[Back to top]