mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 04:19:37 +00:00
adding powershell sdk docs back
This commit is contained in:
41
docs/tools/sdk/powershell/Reference/Beta/Models/Replace.md
Normal file
41
docs/tools/sdk/powershell/Reference/Beta/Models/Replace.md
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
id: beta-replace
|
||||
title: Replace
|
||||
pagination_label: Replace
|
||||
sidebar_label: Replace
|
||||
sidebar_class_name: powershellsdk
|
||||
keywords: ['powershell', 'PowerShell', 'sdk', 'Replace', 'BetaReplace']
|
||||
slug: /tools/sdk/powershell/beta/models/replace
|
||||
tags: ['SDK', 'Software Development Kit', 'Replace', 'BetaReplace']
|
||||
---
|
||||
|
||||
|
||||
# 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** | Pointer to **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** | Pointer to [**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
|
||||
```powershell
|
||||
$Replace = Initialize-PSSailpoint.BetaReplace -Regex [^a-zA-Z] `
|
||||
-Replacement `
|
||||
-RequiresPeriodicRefresh false `
|
||||
-VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}}
|
||||
```
|
||||
|
||||
- Convert the resource to JSON
|
||||
```powershell
|
||||
$Replace | ConvertTo-JSON
|
||||
```
|
||||
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
Reference in New Issue
Block a user