Etcd · Schema

LeaseGrantRequest

Request to create a new lease

Cloud NativeConsensusDistributed SystemsGraduatedKey-Value StoreKubernetes

Properties

Name Type Description
TTL string Time-to-live in seconds for the lease
ID string User-specified lease ID. Set to 0 to let etcd assign the ID automatically.
View JSON Schema on GitHub

JSON Schema

etcd-leasegrantrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LeaseGrantRequest",
  "title": "LeaseGrantRequest",
  "type": "object",
  "description": "Request to create a new lease",
  "required": [
    "TTL"
  ],
  "properties": {
    "TTL": {
      "type": "string",
      "description": "Time-to-live in seconds for the lease"
    },
    "ID": {
      "type": "string",
      "description": "User-specified lease ID. Set to 0 to let etcd assign the ID automatically."
    }
  }
}