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

1.6 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-replace Replace Replace Replace powershellsdk
powershell
PowerShell
sdk
Replace
V2024Replace
/tools/sdk/powershell/v2024/models/replace
SDK
Software Development Kit
Replace
V2024Replace

Replace

Properties

Name Type Description Notes
Regex String This can be a string or a regex pattern in which you want to replace. [required]
Replacement String This is the replacement string that should be substituded wherever the string or pattern is found. [required]
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
$Replace = Initialize-PSSailpoint.V2024Replace  -Regex [^a-zA-Z] `
 -Replacement   `
 -RequiresPeriodicRefresh false `
 -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}}
  • Convert the resource to JSON
$Replace | ConvertTo-JSON

[Back to top]