-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Resource.ts
14 lines (14 loc) · 897 Bytes
/
Resource.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export interface Resource {
/** Required. User settable property. Unique name that identifies the item, that is, no two items share the same ID within a database. The id must not exceed 255 characters. */
id: string;
/** System generated property. The resource ID (_rid) is a unique identifier that is also hierarchical per the resource stack on the resource model. It is used internally for placement and navigation of the item resource. */
_rid: string;
/** System generated property. Specifies the last updated timestamp of the resource. The value is a timestamp. */
_ts: number;
/** System generated property. The unique addressable URI for the resource. */
_self: string;
/** System generated property. Represents the resource etag required for optimistic concurrency control. */
_etag: string;
}