Skip to main content

Createprivilegecriteriarequest

Properties

NameTypeDescriptionNotes
SourceIdStringThe Id of the source that the criteria is applied to.[optional]
TypeEnum [ "CUSTOM" ]The type of criteria being created. Expects ""CUSTOM"".[optional]
OperatorEnum [ "AND", "OR" ]The logical operator to apply between groups.[optional]
Groups[]CreateprivilegecriteriarequestGroupsInner[optional]
PrivilegeLevelEnum [ "HIGH", "MEDIUM", "LOW" ]The privilege level assigned by this criteria.[optional]

Examples

  • Prepare the resource
$Createprivilegecriteriarequest = Initialize-Createprivilegecriteriarequest  -SourceId c42c45d8d7c04d2da64d215cd8c32f21 `
-Type CUSTOM `
-Operator AND `
-Groups null `
-PrivilegeLevel HIGH
  • Convert the resource to JSON
$Createprivilegecriteriarequest | ConvertTo-JSON

[Back to top]