mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-07 20:37:46 +00:00
adding powershell sdk docs back
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
---
|
||||
id: access-constraint
|
||||
title: AccessConstraint
|
||||
pagination_label: AccessConstraint
|
||||
sidebar_label: AccessConstraint
|
||||
sidebar_class_name: powershellsdk
|
||||
keywords: ['powershell', 'PowerShell', 'sdk', 'AccessConstraint', 'AccessConstraint']
|
||||
slug: /tools/sdk/powershell/v3/models/access-constraint
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessConstraint', 'AccessConstraint']
|
||||
---
|
||||
|
||||
|
||||
# AccessConstraint
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Type** | **Enum** [ "ENTITLEMENT", "ACCESS_PROFILE", "ROLE" ] | Type of Access | [required]
|
||||
**Ids** | Pointer to **[]String** | Must be set only if operator is SELECTED. | [optional]
|
||||
**Operator** | **Enum** [ "ALL", "SELECTED" ] | Used to determine whether the scope of the campaign should be reduced for selected ids or all. | [required]
|
||||
|
||||
## Examples
|
||||
|
||||
- Prepare the resource
|
||||
```powershell
|
||||
$AccessConstraint = Initialize-PSSailpoint.V3AccessConstraint -Type ENTITLEMENT `
|
||||
-Ids [2c90ad2a70ace7d50170acf22ca90010] `
|
||||
-Operator SELECTED
|
||||
```
|
||||
|
||||
- Convert the resource to JSON
|
||||
```powershell
|
||||
$AccessConstraint | ConvertTo-JSON
|
||||
```
|
||||
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
Reference in New Issue
Block a user