VMware · Schema
LibraryCreateSpec
Specification for creating a content library
Cloud ComputingContainer ManagementHybrid CloudInfrastructureVirtualization
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Name for the new content library |
| description | string | Description of the content library |
| type | string | Library type |
| storage_backings | array | Storage backings for the library content |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/LibraryCreateSpec",
"title": "LibraryCreateSpec",
"type": "object",
"description": "Specification for creating a content library",
"required": [
"name",
"type",
"storage_backings"
],
"properties": {
"name": {
"type": "string",
"description": "Name for the new content library",
"example": "Example Title"
},
"description": {
"type": "string",
"description": "Description of the content library",
"example": "A sample description."
},
"type": {
"type": "string",
"description": "Library type",
"enum": [
"LOCAL",
"SUBSCRIBED"
],
"example": "LOCAL"
},
"storage_backings": {
"type": "array",
"description": "Storage backings for the library content",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"DATASTORE",
"OTHER"
]
},
"datastore_id": {
"type": "string",
"description": "Datastore identifier for DATASTORE type"
}
}
},
"example": []
}
}
}