mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-07 04:19:34 +00:00
add method and model docs for powershell and python v2025
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
---
|
||||
id: v2025-source-code
|
||||
title: SourceCode
|
||||
pagination_label: SourceCode
|
||||
sidebar_label: SourceCode
|
||||
sidebar_class_name: powershellsdk
|
||||
keywords: ['powershell', 'PowerShell', 'sdk', 'SourceCode', 'V2025SourceCode']
|
||||
slug: /tools/sdk/powershell/v2025/models/source-code
|
||||
tags: ['SDK', 'Software Development Kit', 'SourceCode', 'V2025SourceCode']
|
||||
---
|
||||
|
||||
|
||||
# SourceCode
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Version** | **String** | the version of the code | [required]
|
||||
**Script** | **String** | The code | [required]
|
||||
|
||||
## Examples
|
||||
|
||||
- Prepare the resource
|
||||
```powershell
|
||||
$SourceCode = Initialize-PSSailpoint.V2025SourceCode -Version 1.0 `
|
||||
-Script return "Mr. " + firstName;
|
||||
```
|
||||
|
||||
- Convert the resource to JSON
|
||||
```powershell
|
||||
$SourceCode | ConvertTo-JSON
|
||||
```
|
||||
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
Reference in New Issue
Block a user