Update PowerShell SDK docs: 16633294545

This commit is contained in:
developer-relations-sp
2025-07-30 20:42:10 +00:00
parent cdd71d1f37
commit 5d76be1d9d
35 changed files with 1335 additions and 495 deletions

View File

@@ -1,67 +0,0 @@
---
id: beta-approval
title: Approval
pagination_label: Approval
sidebar_label: Approval
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'Approval', 'BetaApproval']
slug: /tools/sdk/powershell/beta/models/approval
tags: ['SDK', 'Software Development Kit', 'Approval', 'BetaApproval']
---
# Approval
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ApprovalId** | **String** | The Approval ID | [optional]
**Approvers** | [**[]ApprovalIdentity**](approval-identity) | Object representation of an approver of an approval | [optional]
**CreatedDate** | **String** | Date the approval was created | [optional]
**Type** | **String** | Type of approval | [optional]
**Name** | [**[]ApprovalName**](approval-name) | The name of the approval for a given locale | [optional]
**BatchRequest** | [**ApprovalBatch**](approval-batch) | The name of the approval for a given locale | [optional]
**Description** | [**[]ApprovalDescription**](approval-description) | The description of the approval for a given locale | [optional]
**Priority** | **Enum** [ "HIGH", "MEDIUM", "LOW" ] | The priority of the approval | [optional]
**Requester** | [**ApprovalIdentity**](approval-identity) | Object representation of the requester of the approval | [optional]
**Comments** | [**[]ApprovalComment**](approval-comment) | Object representation of a comment on the approval | [optional]
**ApprovedBy** | [**[]ApprovalIdentity**](approval-identity) | Array of approvers who have approved the approval | [optional]
**RejectedBy** | [**[]ApprovalIdentity**](approval-identity) | Array of approvers who have rejected the approval | [optional]
**CompletedDate** | **String** | Date the approval was completed | [optional]
**ApprovalCriteria** | **Enum** [ "SINGLE", "DOUBLE", "TRIPLE", "QUARTER", "HALF", "ALL" ] | Criteria that needs to be met for an approval to be marked as approved | [optional]
**Status** | **Enum** [ "PENDING", "APPROVED", "REJECTED" ] | The current status of the approval | [optional]
**AdditionalAttributes** | **String** | Json string representing additional attributes known about the object to be approved. | [optional]
**ReferenceData** | [**[]ApprovalReference**](approval-reference) | Reference data related to the approval | [optional]
## Examples
- Prepare the resource
```powershell
$Approval = Initialize-BetaApproval -ApprovalId 38453251-6be2-5f8f-df93-5ce19e295837 `
-Approvers null `
-CreatedDate 2023-04-12T23:20:50.52Z `
-Type ENTITLEMENT_DESCRIPTIONS `
-Name null `
-BatchRequest {batchId=38453251-6be2-5f8f-df93-5ce19e295837, batchSize=100} `
-Description null `
-Priority HIGH `
-Requester {id=85d173e7d57e496569df763231d6deb6a, type=IDENTITY, name=John Doe} `
-Comments null `
-ApprovedBy null `
-RejectedBy null `
-CompletedDate 2023-04-12T23:20:50.52Z `
-ApprovalCriteria SINGLE `
-Status PENDING `
-AdditionalAttributes { "llm_description": "generated description" } `
-ReferenceData null
```
- Convert the resource to JSON
```powershell
$Approval | ConvertTo-JSON
```
[[Back to top]](#)

View File

@@ -1,37 +0,0 @@
---
id: beta-approval-batch
title: ApprovalBatch
pagination_label: ApprovalBatch
sidebar_label: ApprovalBatch
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'ApprovalBatch', 'BetaApprovalBatch']
slug: /tools/sdk/powershell/beta/models/approval-batch
tags: ['SDK', 'Software Development Kit', 'ApprovalBatch', 'BetaApprovalBatch']
---
# ApprovalBatch
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**BatchId** | **String** | ID of the batch | [optional]
**BatchSize** | **Int64** | How many approvals are going to be in this batch. Defaults to 1 if not provided. | [optional]
## Examples
- Prepare the resource
```powershell
$ApprovalBatch = Initialize-BetaApprovalBatch -BatchId 38453251-6be2-5f8f-df93-5ce19e295837 `
-BatchSize 100
```
- Convert the resource to JSON
```powershell
$ApprovalBatch | ConvertTo-JSON
```
[[Back to top]](#)

View File

@@ -1,39 +0,0 @@
---
id: beta-approval-comment
title: ApprovalComment
pagination_label: ApprovalComment
sidebar_label: ApprovalComment
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'ApprovalComment', 'BetaApprovalComment']
slug: /tools/sdk/powershell/beta/models/approval-comment
tags: ['SDK', 'Software Development Kit', 'ApprovalComment', 'BetaApprovalComment']
---
# ApprovalComment
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Author** | [**ApprovalIdentity**](approval-identity) | | [optional]
**Comment** | **String** | Comment to be left on an approval | [optional]
**CreatedDate** | **String** | Date the comment was created | [optional]
## Examples
- Prepare the resource
```powershell
$ApprovalComment = Initialize-BetaApprovalComment -Author null `
-Comment Looks good `
-CreatedDate 2023-04-12T23:20:50.52Z
```
- Convert the resource to JSON
```powershell
$ApprovalComment | ConvertTo-JSON
```
[[Back to top]](#)

View File

@@ -1,37 +0,0 @@
---
id: beta-approval-description
title: ApprovalDescription
pagination_label: ApprovalDescription
sidebar_label: ApprovalDescription
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'ApprovalDescription', 'BetaApprovalDescription']
slug: /tools/sdk/powershell/beta/models/approval-description
tags: ['SDK', 'Software Development Kit', 'ApprovalDescription', 'BetaApprovalDescription']
---
# ApprovalDescription
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Value** | **String** | The description of what the approval is asking for | [optional]
**Locale** | **String** | What locale the description of the approval is using | [optional]
## Examples
- Prepare the resource
```powershell
$ApprovalDescription = Initialize-BetaApprovalDescription -Value This access allows viewing and editing of workflow resource `
-Locale en_US
```
- Convert the resource to JSON
```powershell
$ApprovalDescription | ConvertTo-JSON
```
[[Back to top]](#)

View File

@@ -1,39 +0,0 @@
---
id: beta-approval-identity
title: ApprovalIdentity
pagination_label: ApprovalIdentity
sidebar_label: ApprovalIdentity
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'ApprovalIdentity', 'BetaApprovalIdentity']
slug: /tools/sdk/powershell/beta/models/approval-identity
tags: ['SDK', 'Software Development Kit', 'ApprovalIdentity', 'BetaApprovalIdentity']
---
# ApprovalIdentity
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **String** | The identity ID | [optional]
**Type** | **Enum** [ "IDENTITY" ] | Indication of what group the identity belongs to. Ie, IDENTITY, GOVERNANCE_GROUP, etc | [optional]
**Name** | **String** | Name of the identity | [optional]
## Examples
- Prepare the resource
```powershell
$ApprovalIdentity = Initialize-BetaApprovalIdentity -Id 85d173e7d57e496569df763231d6deb6a `
-Type IDENTITY `
-Name John Doe
```
- Convert the resource to JSON
```powershell
$ApprovalIdentity | ConvertTo-JSON
```
[[Back to top]](#)

View File

@@ -1,37 +0,0 @@
---
id: beta-approval-name
title: ApprovalName
pagination_label: ApprovalName
sidebar_label: ApprovalName
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'ApprovalName', 'BetaApprovalName']
slug: /tools/sdk/powershell/beta/models/approval-name
tags: ['SDK', 'Software Development Kit', 'ApprovalName', 'BetaApprovalName']
---
# ApprovalName
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Value** | **String** | Name of the approval | [optional]
**Locale** | **String** | What locale the name of the approval is using | [optional]
## Examples
- Prepare the resource
```powershell
$ApprovalName = Initialize-BetaApprovalName -Value Audit DB Access `
-Locale en_US
```
- Convert the resource to JSON
```powershell
$ApprovalName | ConvertTo-JSON
```
[[Back to top]](#)

View File

@@ -1,37 +0,0 @@
---
id: beta-approval-reference
title: ApprovalReference
pagination_label: ApprovalReference
sidebar_label: ApprovalReference
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'ApprovalReference', 'BetaApprovalReference']
slug: /tools/sdk/powershell/beta/models/approval-reference
tags: ['SDK', 'Software Development Kit', 'ApprovalReference', 'BetaApprovalReference']
---
# ApprovalReference
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **String** | Id of the reference object | [optional]
**Type** | **String** | What reference object does this ID correspond to | [optional]
## Examples
- Prepare the resource
```powershell
$ApprovalReference = Initialize-BetaApprovalReference -Id 64012350-8fd9-4f6c-a170-1fe123683899 `
-Type AccessRequestId
```
- Convert the resource to JSON
```powershell
$ApprovalReference | ConvertTo-JSON
```
[[Back to top]](#)