NSX-T Data Center REST API

License (type)

{
  "additionalProperties": false, 
  "description": "license properties", 
  "extends": {
    "$ref": "Resource
  }, 
  "id": "License", 
  "module_id": "License", 
  "properties": {
    "_links": {
      "description": "The server will populate this field when returing the resource. Ignored on PUT and POST.", 
      "items": {
        "$ref": "ResourceLink
      }, 
      "readonly": true, 
      "title": "References related to this resource", 
      "type": "array"
    }, 
    "_schema": {
      "readonly": true, 
      "title": "Schema for this resource", 
      "type": "string"
    }, 
    "_self": {
      "$ref": "SelfResourceLink, 
      "readonly": true, 
      "title": "Link to this resource"
    }, 
    "capacity_type": {
      "description": "License metrics specifying the capacity type of license key. Types are: - VM - CPU - USER(Concurrent User) - CORE - HOST", 
      "enum": [
        "VM", 
        "CPU", 
        "USER", 
        "CORE", 
        "HOST"
      ], 
      "readonly": true, 
      "title": "license metric", 
      "type": "string"
    }, 
    "description": {
      "readonly": true, 
      "title": "license edition", 
      "type": "string"
    }, 
    "expiry": {
      "$ref": "EpochMsTimestamp, 
      "readonly": true, 
      "title": "date that license expires"
    }, 
    "features": {
      "readonly": true, 
      "title": "semicolon delimited feature list", 
      "type": "string"
    }, 
    "is_eval": {
      "readonly": true, 
      "title": "true for evalution license", 
      "type": "boolean"
    }, 
    "is_expired": {
      "readonly": true, 
      "title": "whether the license has expired", 
      "type": "boolean"
    }, 
    "is_mh": {
      "readonly": true, 
      "title": "multi-hypervisor support", 
      "type": "boolean"
    }, 
    "license_key": {
      "pattern": "^[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}$", 
      "required": true, 
      "sensitive": true, 
      "title": "license key", 
      "type": "string", 
      "validation_msg_key": "com.vmware.nsx.validation.constraints.License.license_key.message"
    }, 
    "product_name": {
      "readonly": true, 
      "title": "product name", 
      "type": "string"
    }, 
    "product_version": {
      "readonly": true, 
      "title": "product version", 
      "type": "string"
    }, 
    "quantity": {
      "readonly": true, 
      "title": "license capacity; 0 for unlimited", 
      "type": "integer"
    }
  }, 
  "type": "object"
}