NamespacesInstancesVMServiceSpec

The Instances.VMServiceSpec structure contains the specification required to configure the VM Service specification associated with a namespace.


Properties

array of string
content_libraries Optional

Set of content libraries for use by the VM Service. The content libraries specified should exist in vSphere inventory. This field is optional because it was added in a newer version than its parent node. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.content.Library. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.content.Library.


array of string
vm_classes Optional

Set of VirtualMachineClasses for use by the VM Service. The class names specified here should exist in vSphere inventory. If this field is empty in an updated specification, all VirtualMachineClasses that are currently associated with the namespace will be disassociated from it. NOTE: Any change in virtual machine classes associated with the namespace will not impact existing VMs.

This field is optional because it was added in a newer version than its parent node. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.

JSON Example

{
    "content_libraries": [
        "string"
    ],
    "vm_classes": [
        "string"
    ]
}
Feedback

Was this page helpful?