View Only
  • 1.  Workload Management, Namespace, VM classes (Tanzu)

    Posted Jun 03, 2022 06:40 AM

    I'm looking at creating self-service for creating Namespaces. I can enable Namespace Service but I also need to set the vm classes available for the namespace, we only allow 4 vm classes, which is not an option with the Namespace Service. 


    I've looked at PowerCLI and also the vCenter API but, as far as I can tell,  setting vm classes is not possible. Does anyone know a way to set vm classes programmatically? Thanks in advance.

    Edit: I think maybe the vCenter API does allow this after all. 


  • 2.  RE: Workload Management, Namespace, VM classes (Tanzu)
    Best Answer

    Broadcom Employee
    Posted Jun 07, 2022 02:24 PM

    For managing/configuring vSphere Namespaces, you can use Namespaces API which is part of the vCenter Server REST API. To edit an existing vSphere NS, take a look at

  • 3.  RE: Workload Management, Namespace, VM classes (Tanzu)

    Broadcom Employee
    Posted Dec 02, 2022 09:17 AM

    In the latest vSphere 8.0 release, configuring vm-classes is now part of the slef-service namespace functionality itself. This avoids the need to configure vm-classes separately.