Skip to main content

Accessduration

Properties

NameTypeDescriptionNotes
ValueInt32The numeric value representing the amount of time, which is defined in the timeUnit.[optional]
TimeUnitEnum [ "HOURS", "DAYS", "WEEKS", "MONTHS" ]The unit of time that corresponds to the value. It defines the scale of the time period.[optional]

Examples

  • Prepare the resource
$Accessduration = Initialize-Accessduration  -Value 6 `
-TimeUnit MONTHS
  • Convert the resource to JSON
$Accessduration | ConvertTo-JSON

[Back to top]