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

2.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
v2024-split Split Split Split powershellsdk
powershell
PowerShell
sdk
Split
V2024Split
/tools/sdk/powershell/v2024/models/split
SDK
Software Development Kit
Split
V2024Split

Split

Properties

Name Type Description Notes
Delimiter String This can be either a single character or a regex expression, and is used by the transform to identify the break point between two substrings in the incoming data [required]
Index String An integer value for the desired array element after the incoming data has been split into a list; the array is a 0-based object, so the first array element would be index 0, the second element would be index 1, etc. [required]
Throws Boolean A boolean (true/false) value which indicates whether an exception should be thrown and returned as an output when an index is out of bounds with the resultant array (i.e., the provided index value is larger than the size of the array) true - The transform should return ""IndexOutOfBoundsException"" false - The transform should return null If not provided, the transform will default to false and return a null [optional] [default to $false]
RequiresPeriodicRefresh Boolean A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process [optional] [default to $false]
VarInput [map[string]AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4 This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. [optional]

Examples

  • Prepare the resource
$Split = Initialize-PSSailpoint.V2024Split  -Delimiter , `
 -Index 5 `
 -Throws true `
 -RequiresPeriodicRefresh false `
 -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}}
  • Convert the resource to JSON
$Split | ConvertTo-JSON

[Back to top]