CreateScheduledSearchRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Name | String | The name of the scheduled search. | [optional] |
| Description | String | The description of the scheduled search. | [optional] |
| SavedSearchId | String | The ID of the saved search that will be executed. | [required] |
| Created | System.DateTime | The date the scheduled search was initially created. | [optional] [readonly] |
| Modified | System.DateTime | The last date the scheduled search was modified. | [optional] [readonly] |
| Schedule | Schedule1 | [required] | |
| Recipients | []SearchScheduleRecipientsInner | A list of identities that should receive the scheduled search report via email. | [required] |
| Enabled | Boolean | Indicates if the scheduled search is enabled. | [optional] [default to $false] |
| EmailEmptyResults | Boolean | Indicates if email generation should occur when search returns no results. | [optional] [default to $false] |
| DisplayQueryDetails | Boolean | Indicates if the generated email should include the query and search results preview (which could include PII). | [optional] [default to $false] |
Examples
- Prepare the resource
$CreateScheduledSearchRequest = Initialize-CreateScheduledSearchRequest -Name Daily disabled accounts `
-Description Daily disabled accounts `
-SavedSearchId 554f1511-f0a1-4744-ab14-599514d3e57c `
-Created 2018-06-25T20:22:28.104Z `
-Modified 2018-06-25T20:22:28.104Z `
-Schedule null `
-Recipients null `
-Enabled false `
-EmailEmptyResults false `
-DisplayQueryDetails false
- Convert the resource to JSON
$CreateScheduledSearchRequest | ConvertTo-JSON