Package version:

Interface ShareCreateSnapshotHeaders

Defines headers for Share_createSnapshot operation.

interface ShareCreateSnapshotHeaders {
    date?: Date;
    errorCode?: string;
    etag?: string;
    lastModified?: Date;
    requestId?: string;
    snapshot?: string;
    version?: string;
}

Properties

date?: Date

A UTC date/time value generated by the service that indicates the time at which the response was initiated.

errorCode?: string

Error Code

etag?: string

The ETag contains a value which represents the version of the share snapshot, in quotes. A share snapshot cannot be modified, so the ETag of a given share snapshot never changes. However, if new metadata was supplied with the Snapshot Share request then the ETag of the share snapshot differs from that of the base share. If no metadata was specified with the request, the ETag of the share snapshot is identical to that of the base share at the time the share snapshot was taken.

lastModified?: Date

Returns the date and time the share was last modified. A share snapshot cannot be modified, so the last modified time of a given share snapshot never changes. However, if new metadata was supplied with the Snapshot Share request then the last modified time of the share snapshot differs from that of the base share. If no metadata was specified with the request, the last modified time of the share snapshot is identical to that of the base share at the time the share snapshot was taken.

requestId?: string

This header uniquely identifies the request that was made and can be used for troubleshooting the request.

snapshot?: string

This header is a DateTime value that uniquely identifies the share snapshot. The value of this header may be used in subsequent requests to access the share snapshot. This value is opaque.

version?: string

Indicates the version of the File service used to execute the request.