Microsoft Azure · Schema

Container

A Cosmos DB container (collection) resource.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
id string The unique name that identifies the container.
defaultTtl integer Default time-to-live in seconds. -1 means items never expire.
_rid string System-generated resource ID.
_ts integer System-generated timestamp.
_self string System-generated URI for the resource.
_etag string System-generated resource etag.
_docs string Addressable path for the documents resource.
_sprocs string Addressable path for the stored procedures resource.
_triggers string Addressable path for the triggers resource.
_udfs string Addressable path for the user-defined functions resource.
View JSON Schema on GitHub

JSON Schema

azure-cosmos-db-container-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Container",
  "type": "object",
  "description": "A Cosmos DB container (collection) resource.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique name that identifies the container."
    },
    "defaultTtl": {
      "type": "integer",
      "description": "Default time-to-live in seconds. -1 means items never expire."
    },
    "_rid": {
      "type": "string",
      "description": "System-generated resource ID."
    },
    "_ts": {
      "type": "integer",
      "description": "System-generated timestamp."
    },
    "_self": {
      "type": "string",
      "description": "System-generated URI for the resource."
    },
    "_etag": {
      "type": "string",
      "description": "System-generated resource etag."
    },
    "_docs": {
      "type": "string",
      "description": "Addressable path for the documents resource."
    },
    "_sprocs": {
      "type": "string",
      "description": "Addressable path for the stored procedures resource."
    },
    "_triggers": {
      "type": "string",
      "description": "Addressable path for the triggers resource."
    },
    "_udfs": {
      "type": "string",
      "description": "Addressable path for the user-defined functions resource."
    }
  }
}