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]