Files
developer.sailpoint.com/docs/tools/sdk/powershell/Reference/V2024/Models/CreateSavedSearchRequest.md
2025-02-28 14:46:13 +00:00

2.7 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
v2024-create-saved-search-request CreateSavedSearchRequest CreateSavedSearchRequest CreateSavedSearchRequest powershellsdk
powershell
PowerShell
sdk
CreateSavedSearchRequest
V2024CreateSavedSearchRequest
/tools/sdk/powershell/v2024/models/create-saved-search-request
SDK
Software Development Kit
CreateSavedSearchRequest
V2024CreateSavedSearchRequest

CreateSavedSearchRequest

Properties

Name Type Description Notes
Name String The name of the saved search. [optional]
Description String The description of the saved search. [optional]
Created System.DateTime A date-time in ISO-8601 format [optional]
Modified System.DateTime A date-time in ISO-8601 format [optional]
Indices []Index The names of the Elasticsearch indices in which to search. [required]
Columns map[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]
Query String The search query using Elasticsearch Query String Query syntax from the Query DSL. [required]
Fields []String The fields to be searched against in a multi-field query. [optional]
OrderBy map[string]String[] Sort by index. This takes precedence over the sort property. [optional]
Sort []String The fields to be used to sort the search results. [optional]
Filters SavedSearchDetailFilters [optional]

Examples

  • Prepare the resource
$CreateSavedSearchRequest = Initialize-PSSailpoint.V2024CreateSavedSearchRequest  -Name Disabled accounts `
 -Description Disabled accounts `
 -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
$CreateSavedSearchRequest | ConvertTo-JSON

[Back to top]