Microsoft Azure · Schema

ContainerCreateRequest

Request body for creating or replacing a container.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
id string The unique name that identifies the container.
indexingPolicy object
partitionKey object
uniqueKeyPolicy object
conflictResolutionPolicy object
defaultTtl integer Default time-to-live in seconds.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-containercreaterequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ContainerCreateRequest",
  "title": "ContainerCreateRequest",
  "type": "object",
  "description": "Request body for creating or replacing a container.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique name that identifies the container.",
      "example": "abc123"
    },
    "indexingPolicy": {
      "$ref": "#/components/schemas/IndexingPolicy"
    },
    "partitionKey": {
      "$ref": "#/components/schemas/PartitionKeyDefinition"
    },
    "uniqueKeyPolicy": {
      "$ref": "#/components/schemas/UniqueKeyPolicy"
    },
    "conflictResolutionPolicy": {
      "$ref": "#/components/schemas/ConflictResolutionPolicy"
    },
    "defaultTtl": {
      "type": "integer",
      "description": "Default time-to-live in seconds.",
      "example": 10
    }
  },
  "required": [
    "id",
    "partitionKey"
  ]
}