Skip to main content

Savedsearchdetail

Properties

NameTypeDescriptionNotes
CreatedSystem.DateTimeA date-time in ISO-8601 format[optional]
ModifiedSystem.DateTimeA date-time in ISO-8601 format[optional]
Indices[]IndexThe names of the Elasticsearch indices in which to search.[required]
Columnsmap[string]Column[]The columns to be returned (specifies the order in which they will be presented) for each document type. The currently supported document types are: accessprofile, accountactivity, account, aggregation, entitlement, event, identity, and role.[optional]
QueryStringThe search query using Elasticsearch Query String Query syntax from the Query DSL.[required]
Fields[]StringThe fields to be searched against in a multi-field query.[optional]
OrderBymap[string]String[]Sort by index. This takes precedence over the sort property.[optional]
Sort[]StringThe fields to be used to sort the search results.[optional]
FiltersSavedsearchdetailFilters[optional]

Examples

  • Prepare the resource
$Savedsearchdetail = Initialize-Savedsearchdetail  -Created 2018-06-25T20:22:28.104Z `
-Modified 2018-06-25T20:22:28.104Z `
-Indices ["identities"] `
-Columns {"identity":[{"field":"displayName","header":"Display Name"},{"field":"e-mail","header":"Work Email"}]} `
-Query @accounts(disabled:true) `
-Fields ["disabled"] `
-OrderBy {"identity":["lastName","firstName"],"role":["name"]} `
-Sort ["displayName"] `
-Filters null
  • Convert the resource to JSON
$Savedsearchdetail | ConvertTo-JSON

[Back to top]