Namespaces_Instances_ContentLibrarySpec

Namespaces_Instances_ContentLibrarySpec
Namespaces_Instances_ContentLibrarySpec

The Instances.ContentLibrarySpec structure contains the specification required to configure Content Libraries in the VM Image Service.

JSON Example
{
    "content_library": "string",
    "writable": false
}
string
content_library
Required

Content Library ID used by the VM Image Service. The Content Library specified should exist in vSphere inventory. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.content.Library. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.content.Library.

boolean
writable
Optional

Flag to indicate if the Content Library is writable. When set to true, users with Access.Info.role of type OWNER or EDIT on a Supervisor namespace can add or delete Content Library items in vSphere from this Supervisor namespace. A subscribed Content Library is not allowed to be marked as writable. An InvalidArgument error will be thrown from Instances.create operation, Instances.update operation and Instances.set operation if a subscribed Content Library has the Instances.ContentLibrarySpec.writable flag set to true.

If unset, the value defaults to false and the Content Library is read-only to users.