Content Library Usages AddSpec
The Content Library Usages AddSpec schema defines the information required to add a resource usage on a content library.
This schema was added in vSphere API 9.1.0.0.
{
"resource_urn": "string"
}
A Uniform Resource Name (URN) of the resource that is using the content library.
The URN is a fully qualified, unique string that identifies a specific instance of a resource such as a virtual machine, supervisor, namespace, cluster, etc. This identifier enables the Content Library service to track which resources are using a given content library.
The expected URN format is: <urn-scheme>:<global-namespace>:<resource-type>:<resource-id>, where:
urn-schemespecifies the identifier scheme (e.g.,urn)global-namespacerepresents the owning domain (e.g.,vmomi)resource-typeindicates the type of the resource (e.g.,vm,supervisor)resource-idis the unique identifier for the resource (e.g.,vm-12)
Example URNs:
urn:vmomi:vm:vm-12urn:vmomi:supervisor:sup-56789urn:vmomi:namespace:ns-abcde
This property was added in vSphere API 9.1.0.0.