Etcd · Schema

LeaseGrantResponse

Response from a lease grant operation

Cloud NativeConsensusDistributed SystemsGraduatedKey-Value StoreKubernetes

Properties

Name Type Description
header object
ID string Lease ID assigned to the new lease
TTL string Actual TTL in seconds granted to the lease
error string Error message if the lease grant failed
View JSON Schema on GitHub

JSON Schema

etcd-leasegrantresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LeaseGrantResponse",
  "title": "LeaseGrantResponse",
  "type": "object",
  "description": "Response from a lease grant operation",
  "properties": {
    "header": {
      "$ref": "#/components/schemas/ResponseHeader"
    },
    "ID": {
      "type": "string",
      "description": "Lease ID assigned to the new lease"
    },
    "TTL": {
      "type": "string",
      "description": "Actual TTL in seconds granted to the lease"
    },
    "error": {
      "type": "string",
      "description": "Error message if the lease grant failed"
    }
  }
}