FileSetExpiryOptions interface
Option interface for the setExpiry operation.
- Extends
Properties
abort |
An implementation of the |
expires |
The time to set the file to expire on, used in combination with the "Absolute" FileExpiryMode. A time in the past is not allowed and milliseconds will be dropped. |
time |
The number of milliseconds to elapse before the file expires, used in combination with the "RelativeToCreation" or "RelativeToNow" FileExpiryMode. |
Inherited Properties
tracing |
Property Details
abortSignal
An implementation of the AbortSignalLike
interface to signal the request to cancel the operation.
For example, use the @azure/abort-controller to create an AbortSignal
.
abortSignal?: AbortSignalLike
Property Value
expiresOn
The time to set the file to expire on, used in combination with the "Absolute" FileExpiryMode. A time in the past is not allowed and milliseconds will be dropped.
expiresOn?: Date
Property Value
Date
timeToExpireInMs
The number of milliseconds to elapse before the file expires, used in combination with the "RelativeToCreation" or "RelativeToNow" FileExpiryMode.
timeToExpireInMs?: number
Property Value
number