The Instances.UpdateSpec structure contains the specification required to update the configuration on the namespace. This structure is applied partially, and only the specified fields will replace or modify their existing counterparts.


access_list Optional

Access control associated with the namespace. If unset, access controls on the namespace will not be modified. Existing pods from users will continue to run.

description Optional

Description for the namespace. If unset, the description of the namespace will not be modified.

resource_spec Optional

Resource quota updates on the namespace. Refer to com.vmware.vcenter.namespace_management.NamespaceResourceOptions.Info#updateResourceQuotaType and use com.vmware.vcenter.namespace_management.NamespaceResourceOptions#get for retrieving the type for the value for this field. For an example of this, see ResourceQuotaOptionsV1Update. If unset, the resource constraints on the namespace will not be modified.

storage_specs Optional

Storage associated with the namespace. If unset, storage policies and their limit will not be modified. Pods which are already using persistent storage from the earlier version of storage policies will be able to access them till the datastores are attached to the worker nodes.

Parameter To

Update Instances

JSON Example

    "access_list": [
            "domain": "string",
            "role": "enum",
            "subject": "string",
            "subject_type": "enum"
    "description": "string",
    "storage_specs": [
            "limit": 0,
            "policy": "string"

Was this page helpful?