mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-07 12:27:47 +00:00
Update to powershell SDK docs: 13207859154
This commit is contained in:
@@ -24,9 +24,15 @@ Method | HTTP request | Description
|
||||
[**Get-BetaManagedClusters**](#get-managed-clusters) | **GET** `/managed-clusters` | Retrieve all Managed Clusters.
|
||||
[**Send-BetaClientLogConfiguration**](#put-client-log-configuration) | **PUT** `/managed-clusters/{id}/log-config` | Update managed cluster's log configuration
|
||||
|
||||
|
||||
## get-client-log-configuration
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Get managed cluster's log configuration.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/beta/get-client-log-configuration)
|
||||
|
||||
### Parameters
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
@@ -57,19 +63,25 @@ $Id = "aClusterId" # String | ID of ManagedCluster to get log configuration for
|
||||
# Get managed cluster's log configuration
|
||||
|
||||
try {
|
||||
Get-BetaClientLogConfiguration -BetaId $Id
|
||||
Get-BetaClientLogConfiguration -Id $Id
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Get-BetaClientLogConfiguration -BetaId $Id
|
||||
# Get-BetaClientLogConfiguration -Id $Id
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-BetaClientLogConfiguration"
|
||||
Write-Host $_.ErrorDetails
|
||||
}
|
||||
```
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-managed-cluster
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Retrieve a ManagedCluster by ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/beta/get-managed-cluster)
|
||||
|
||||
### Parameters
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
@@ -100,19 +112,25 @@ $Id = "aClusterId" # String | ID of the ManagedCluster to get
|
||||
# Get a specified ManagedCluster.
|
||||
|
||||
try {
|
||||
Get-BetaManagedCluster -BetaId $Id
|
||||
Get-BetaManagedCluster -Id $Id
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Get-BetaManagedCluster -BetaId $Id
|
||||
# Get-BetaManagedCluster -Id $Id
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-BetaManagedCluster"
|
||||
Write-Host $_.ErrorDetails
|
||||
}
|
||||
```
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-managed-clusters
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Retrieve all Managed Clusters for the current Org, based on request context.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/beta/get-managed-clusters)
|
||||
|
||||
### Parameters
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
@@ -148,19 +166,25 @@ $Filters = 'operational eq operation' # String | Filter results using the standa
|
||||
# Retrieve all Managed Clusters.
|
||||
|
||||
try {
|
||||
Get-BetaManagedClusters
|
||||
Get-BetaManagedClusters
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Get-BetaManagedClusters -BetaOffset $Offset -BetaLimit $Limit -BetaCount $Count -BetaFilters $Filters
|
||||
# Get-BetaManagedClusters -Offset $Offset -Limit $Limit -Count $Count -Filters $Filters
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-BetaManagedClusters"
|
||||
Write-Host $_.ErrorDetails
|
||||
}
|
||||
```
|
||||
[[Back to top]](#)
|
||||
|
||||
## put-client-log-configuration
|
||||
:::caution deprecated
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
:::
|
||||
Update managed cluster's log configuration
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/beta/put-client-log-configuration)
|
||||
|
||||
### Parameters
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
@@ -199,10 +223,10 @@ $ClientLogConfiguration = @"{
|
||||
# Update managed cluster's log configuration
|
||||
|
||||
try {
|
||||
Send-BetaClientLogConfiguration -BetaId $Id -BetaClientLogConfiguration $Result
|
||||
Send-BetaClientLogConfiguration -Id $Id -BetaClientLogConfiguration $Result
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Send-BetaClientLogConfiguration -BetaId $Id -BetaClientLogConfiguration $ClientLogConfiguration
|
||||
# Send-BetaClientLogConfiguration -Id $Id -BetaClientLogConfiguration $Result
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Send-BetaClientLogConfiguration"
|
||||
Write-Host $_.ErrorDetails
|
||||
|
||||
Reference in New Issue
Block a user