Update PowerShell SDK docs: 15141274669

This commit is contained in:
developer-relations-sp
2025-05-20 15:12:17 +00:00
parent c4f4d72fc8
commit 8df9b19e41
308 changed files with 6591 additions and 5586 deletions

View File

@@ -0,0 +1,49 @@
---
id: beta-search-criteria
title: SearchCriteria
pagination_label: SearchCriteria
sidebar_label: SearchCriteria
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'SearchCriteria', 'BetaSearchCriteria']
slug: /tools/sdk/powershell/beta/models/search-criteria
tags: ['SDK', 'Software Development Kit', 'SearchCriteria', 'BetaSearchCriteria']
---
# SearchCriteria
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Indices** | **[]String** | A list of indices to search within. Must contain exactly one item, typically ""entitlements"". | [required]
**Filters** | [**map[string]SearchCriteriaFiltersValue**](search-criteria-filters-value) | A map of filters applied to the search. Keys are filter names, and values are filter definitions. | [optional]
**Query** | [**SearchCriteriaQuery**](search-criteria-query) | | [optional]
**QueryType** | **String** | Specifies the type of query. Must be ""TEXT"" if `textQuery` is used. | [optional]
**TextQuery** | [**SearchCriteriaTextQuery**](search-criteria-text-query) | | [optional]
**IncludeNested** | **Boolean** | Whether to include nested objects in the search results. | [optional] [default to $false]
**Sort** | **[]String** | Specifies the sorting order for the results. | [optional]
**SearchAfter** | **[]String** | Used for pagination to fetch results after a specific point. | [optional]
## Examples
- Prepare the resource
```powershell
$SearchCriteria = Initialize-BetaSearchCriteria -Indices [entitlements] `
-Filters {status={type=TERMS, terms=[active, inactive]}} `
-Query null `
-QueryType TEXT `
-TextQuery null `
-IncludeNested true `
-Sort [name:asc, createdAt:desc] `
-SearchAfter [12345, 67890]
```
- Convert the resource to JSON
```powershell
$SearchCriteria | ConvertTo-JSON
```
[[Back to top]](#)

View File

@@ -0,0 +1,39 @@
---
id: beta-search-criteria-filters-value
title: SearchCriteriaFiltersValue
pagination_label: SearchCriteriaFiltersValue
sidebar_label: SearchCriteriaFiltersValue
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'SearchCriteriaFiltersValue', 'BetaSearchCriteriaFiltersValue']
slug: /tools/sdk/powershell/beta/models/search-criteria-filters-value
tags: ['SDK', 'Software Development Kit', 'SearchCriteriaFiltersValue', 'BetaSearchCriteriaFiltersValue']
---
# SearchCriteriaFiltersValue
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Type** | **String** | The type of filter, e.g., ""TERMS"" or ""RANGE"". | [optional]
**Terms** | **[]String** | Terms to filter by (for ""TERMS"" type). | [optional]
**Range** | [**SearchCriteriaFiltersValueRange**](search-criteria-filters-value-range) | | [optional]
## Examples
- Prepare the resource
```powershell
$SearchCriteriaFiltersValue = Initialize-BetaSearchCriteriaFiltersValue -Type TERMS `
-Terms [active, inactive] `
-Range null
```
- Convert the resource to JSON
```powershell
$SearchCriteriaFiltersValue | ConvertTo-JSON
```
[[Back to top]](#)

View File

@@ -0,0 +1,37 @@
---
id: beta-search-criteria-filters-value-range
title: SearchCriteriaFiltersValueRange
pagination_label: SearchCriteriaFiltersValueRange
sidebar_label: SearchCriteriaFiltersValueRange
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'SearchCriteriaFiltersValueRange', 'BetaSearchCriteriaFiltersValueRange']
slug: /tools/sdk/powershell/beta/models/search-criteria-filters-value-range
tags: ['SDK', 'Software Development Kit', 'SearchCriteriaFiltersValueRange', 'BetaSearchCriteriaFiltersValueRange']
---
# SearchCriteriaFiltersValueRange
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Lower** | [**SearchCriteriaFiltersValueRangeLower**](search-criteria-filters-value-range-lower) | | [optional]
**Upper** | [**SearchCriteriaFiltersValueRangeUpper**](search-criteria-filters-value-range-upper) | | [optional]
## Examples
- Prepare the resource
```powershell
$SearchCriteriaFiltersValueRange = Initialize-BetaSearchCriteriaFiltersValueRange -Lower null `
-Upper null
```
- Convert the resource to JSON
```powershell
$SearchCriteriaFiltersValueRange | ConvertTo-JSON
```
[[Back to top]](#)

View File

@@ -0,0 +1,37 @@
---
id: beta-search-criteria-filters-value-range-lower
title: SearchCriteriaFiltersValueRangeLower
pagination_label: SearchCriteriaFiltersValueRangeLower
sidebar_label: SearchCriteriaFiltersValueRangeLower
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'SearchCriteriaFiltersValueRangeLower', 'BetaSearchCriteriaFiltersValueRangeLower']
slug: /tools/sdk/powershell/beta/models/search-criteria-filters-value-range-lower
tags: ['SDK', 'Software Development Kit', 'SearchCriteriaFiltersValueRangeLower', 'BetaSearchCriteriaFiltersValueRangeLower']
---
# SearchCriteriaFiltersValueRangeLower
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Value** | **String** | The lower bound value. | [optional]
**Inclusive** | **Boolean** | Whether the lower bound is inclusive. | [optional] [default to $false]
## Examples
- Prepare the resource
```powershell
$SearchCriteriaFiltersValueRangeLower = Initialize-BetaSearchCriteriaFiltersValueRangeLower -Value 10 `
-Inclusive true
```
- Convert the resource to JSON
```powershell
$SearchCriteriaFiltersValueRangeLower | ConvertTo-JSON
```
[[Back to top]](#)

View File

@@ -0,0 +1,37 @@
---
id: beta-search-criteria-filters-value-range-upper
title: SearchCriteriaFiltersValueRangeUpper
pagination_label: SearchCriteriaFiltersValueRangeUpper
sidebar_label: SearchCriteriaFiltersValueRangeUpper
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'SearchCriteriaFiltersValueRangeUpper', 'BetaSearchCriteriaFiltersValueRangeUpper']
slug: /tools/sdk/powershell/beta/models/search-criteria-filters-value-range-upper
tags: ['SDK', 'Software Development Kit', 'SearchCriteriaFiltersValueRangeUpper', 'BetaSearchCriteriaFiltersValueRangeUpper']
---
# SearchCriteriaFiltersValueRangeUpper
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Value** | **String** | The upper bound value. | [optional]
**Inclusive** | **Boolean** | Whether the upper bound is inclusive. | [optional] [default to $false]
## Examples
- Prepare the resource
```powershell
$SearchCriteriaFiltersValueRangeUpper = Initialize-BetaSearchCriteriaFiltersValueRangeUpper -Value 20 `
-Inclusive false
```
- Convert the resource to JSON
```powershell
$SearchCriteriaFiltersValueRangeUpper | ConvertTo-JSON
```
[[Back to top]](#)

View File

@@ -0,0 +1,35 @@
---
id: beta-search-criteria-query
title: SearchCriteriaQuery
pagination_label: SearchCriteriaQuery
sidebar_label: SearchCriteriaQuery
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'SearchCriteriaQuery', 'BetaSearchCriteriaQuery']
slug: /tools/sdk/powershell/beta/models/search-criteria-query
tags: ['SDK', 'Software Development Kit', 'SearchCriteriaQuery', 'BetaSearchCriteriaQuery']
---
# SearchCriteriaQuery
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Query** | **String** | A structured query for advanced search. | [optional]
## Examples
- Prepare the resource
```powershell
$SearchCriteriaQuery = Initialize-BetaSearchCriteriaQuery -Query status:active
```
- Convert the resource to JSON
```powershell
$SearchCriteriaQuery | ConvertTo-JSON
```
[[Back to top]](#)

View File

@@ -0,0 +1,39 @@
---
id: beta-search-criteria-text-query
title: SearchCriteriaTextQuery
pagination_label: SearchCriteriaTextQuery
sidebar_label: SearchCriteriaTextQuery
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'SearchCriteriaTextQuery', 'BetaSearchCriteriaTextQuery']
slug: /tools/sdk/powershell/beta/models/search-criteria-text-query
tags: ['SDK', 'Software Development Kit', 'SearchCriteriaTextQuery', 'BetaSearchCriteriaTextQuery']
---
# SearchCriteriaTextQuery
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Terms** | **[]String** | Terms to search for. | [optional]
**Fields** | **[]String** | Fields to search within. | [optional]
**MatchAny** | **Boolean** | Whether to match any of the terms. | [optional] [default to $false]
## Examples
- Prepare the resource
```powershell
$SearchCriteriaTextQuery = Initialize-BetaSearchCriteriaTextQuery -Terms [admin, user] `
-Fields [role, name] `
-MatchAny true
```
- Convert the resource to JSON
```powershell
$SearchCriteriaTextQuery | ConvertTo-JSON
```
[[Back to top]](#)

View File

@@ -18,13 +18,15 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Entitlements** | **[]String** | list of entitlement ids | [optional]
**Seds** | **[]String** | list of sed ids | [optional]
**SearchCriteria** | [**map[string]SearchCriteria**](search-criteria) | Search criteria for the batch request. | [optional]
## Examples
- Prepare the resource
```powershell
$SedBatchRequest = Initialize-BetaSedBatchRequest -Entitlements null `
-Seds null
-Seds null `
-SearchCriteria null
```
- Convert the resource to JSON

View File

@@ -1,35 +0,0 @@
---
id: beta-sed-batch-status
title: SedBatchStatus
pagination_label: SedBatchStatus
sidebar_label: SedBatchStatus
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'SedBatchStatus', 'BetaSedBatchStatus']
slug: /tools/sdk/powershell/beta/models/sed-batch-status
tags: ['SDK', 'Software Development Kit', 'SedBatchStatus', 'BetaSedBatchStatus']
---
# SedBatchStatus
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | **String** | status of batch | [optional]
## Examples
- Prepare the resource
```powershell
$SedBatchStatus = Initialize-BetaSedBatchStatus -Status OK
```
- Convert the resource to JSON
```powershell
$SedBatchStatus | ConvertTo-JSON
```
[[Back to top]](#)