Skip to content

Commit

Permalink
Automated build 'Automated commit 'Merge pull request #1237 from sail…
Browse files Browse the repository at this point in the history
…point/devrel-934

data property for SpConfig import should be a binary file' by github action: 4725915723' powershell sdk: 4725919598
  • Loading branch information
tyler-mairose-sp committed Apr 17, 2023
1 parent fcc026d commit 2cb1e5f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions PSSailpoint/beta/docs/BetaSPConfigApi.md
Expand Up @@ -171,7 +171,7 @@ Name | Type | Description | Notes
<a name="Import-BetaSpConfig"></a>
# **Import-BetaSpConfig**
> SpConfigJob Import-BetaSpConfig<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[-Data] <String><br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[-Data] <System.IO.FileInfo><br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[-Preview] <System.Nullable[Boolean]><br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[-Options] <PSCustomObject><br>
Expand All @@ -189,7 +189,7 @@ $Configuration.AccessToken = "YOUR_ACCESS_TOKEN"
# Configure OAuth2 access token for authorization: oauth2
$Configuration.AccessToken = "YOUR_ACCESS_TOKEN"
$Data = "MyData" # String | Name of JSON file containing the objects to be imported.
$Data = # System.IO.FileInfo | JSON file containing the objects to be imported.
$Preview = $true # Boolean | This option is intended to give the user information about how an import operation would proceed, without having any affect on the target tenant. If true, no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to $false)
$ObjectExportImportOptions = Initialize-ObjectExportImportOptions -IncludedIds "be9e116d-08e1-49fc-ab7f-fa585e96c9e4" -IncludedNames "Test Object"
$BaseReferenceDto = Initialize-BaseReferenceDto -Type "ACCOUNT_CORRELATION_CONFIG" -Id "2c91808568c529c60168cca6f90c1313" -Name "William Wilson"
Expand All @@ -208,7 +208,7 @@ try {

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**Data** | **String**| Name of JSON file containing the objects to be imported. |
**Data** | **System.IO.FileInfo****System.IO.FileInfo**| JSON file containing the objects to be imported. |
**Preview** | **Boolean**| This option is intended to give the user information about how an import operation would proceed, without having any affect on the target tenant. If true, no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. | [optional] [default to $false]
**Options** | [**ImportOptions**](ImportOptions.md)| | [optional]

Expand Down
2 changes: 1 addition & 1 deletion PSSailpoint/beta/docs/ImportSpConfigRequest.md
Expand Up @@ -3,7 +3,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**VarData** | **String** | Name of JSON file containing the objects to be imported. |
**VarData** | **System.IO.FileInfo** | JSON file containing the objects to be imported. |
**Options** | [**ImportOptions**](ImportOptions.md) | | [optional]

## Examples
Expand Down
4 changes: 2 additions & 2 deletions PSSailpoint/beta/src/PSSailpointBeta/Api/BetaSPConfigApi.ps1
Expand Up @@ -252,7 +252,7 @@ Initiates Configuration Objects Import Job.
This post will import objects from a JSON configuration file into a tenant. By default, every import will first export all existing objects supported by sp-config as a backup before the import is attempted. The backup is provided so that the state of the configuration prior to the import is available for inspection or restore if needed. The backup can be skipped by setting ""excludeBackup"" to true in the import options. If a backup is performed, the id of the backup will be provided in the ImportResult as the ""exportJobId"". This can be downloaded using the /sp-config/export/{exportJobId}/download endpoint. Request will need the following security scope: - sp:config:manage
.PARAMETER Data
Name of JSON file containing the objects to be imported.
JSON file containing the objects to be imported.
.PARAMETER Preview
This option is intended to give the user information about how an import operation would proceed, without having any affect on the target tenant. If true, no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported.
Expand All @@ -272,7 +272,7 @@ function Import-BetaSpConfig {
[CmdletBinding()]
Param (
[Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)]
[String]
[System.IO.FileInfo]
${Data},
[Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)]
[System.Nullable[Boolean]]
Expand Down
Expand Up @@ -15,7 +15,7 @@ No summary available.
No description available.
.PARAMETER VarData
Name of JSON file containing the objects to be imported.
JSON file containing the objects to be imported.
.PARAMETER Options
No description available.
.OUTPUTS
Expand All @@ -27,7 +27,7 @@ function Initialize-BetaImportSpConfigRequest {
[CmdletBinding()]
Param (
[Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
[String]
[System.IO.FileInfo]
${VarData},
[Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
[PSCustomObject]
Expand Down

0 comments on commit 2cb1e5f

Please sign in to comment.