Skip to main content

Bulkapproverequestdto

Properties

NameTypeDescriptionNotes
ApprovalIds[]StringArray of Approval IDs to be bulk approved[optional]
CommentStringOptional comment to include with the bulk approval request[optional]
AdditionalAttributes[map[string]AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4Additional attributes to include with the bulk approval request[optional]

Examples

  • Prepare the resource
$Bulkapproverequestdto = Initialize-Bulkapproverequestdto  -ApprovalIds ["38453251-6be2-5f8f-df93-5ce19e295837","38453251-6be2-5f8f-df93-5ce19e295838"] `
-Comment Bulk approved by admin for monthly review `
-AdditionalAttributes {"source":"automation","urgency":"high"}
  • Convert the resource to JSON
$Bulkapproverequestdto | ConvertTo-JSON

[Back to top]