Muokkaa

Jaa


expirationPattern resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

In Microsoft Entra entitlement management, a user creates an access package assignment request to obtain an access package assignment. This request can include a schedule for when the user would like to have an assignment. An access package assignment that results from such a request also has a schedule. The expiration field of a requestSchedule indicates when the access package assignment should expire.

Properties

Property Type Description
endDateTime DateTimeOffset Timestamp of date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z.
duration Duration The requestor's desired duration of access represented in ISO 8601 format for durations. For example, PT3H refers to three hours. If specified in a request, endDateTime shouldn't be present and the type property should be set to afterDuration.
type expirationPatternType The requestor's desired expiration pattern type.

expirationPatternType values

Member Value Description
notSpecified 0 No expiration schedule was specified.
noExpiration 1 The requestor didn't wish the access to expire.
afterDateTime 2 Access expires after a specified date and time.
afterDuration 3 Access expires after a specified duration relative to access being granted. Required when the duration property is specified.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
    "endDateTime": "2020-09-10T23:06:53.307Z",
    "type": "afterDateTime"
}