NamespacesInstancesSetSpec

The Instances.SetSpec structure contains the specification required to set a new configuration on the namespace. This structure is applied in entirety, replacing the current specification fully.


Properties

access_list Optional

Access control associated with the namespace. If unset, the existing access controls on the namespace will be removed and users will not be able to access this namespace to create new pods. Existing pods from users will continue to run.


string
description Optional

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


object
resource_spec Optional

Resource quota for the namespace. This will replace the existing resource constraints on the namespace in entirety. Refer to com.vmware.vcenter.namespace_management.NamespaceResourceOptions.Info#createResourceQuotaType 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 ResourceQuotaOptionsV1. If unset, the resource constraints on the namespace will be cleared.


storage_specs Optional

Storage associated with the namespace. If unset, the existing storage policies will be disassociated with the namespace and existing limits will be cleared. 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.


vm_service_spec Optional

VM Service specification associated with the namespace. This field is optional because it was added in a newer version than its parent node.

JSON Example

{
	"access_list": [
		{
			"domain": "string",
			"identity_provider": "string",
			"role": "OWNER",
			"subject": "string",
			"subject_type": "USER"
		}
	],
	"description": "string",
	"resource_spec": {},
	"storage_specs": [
		{
			"limit": 0,
			"policy": "string"
		}
	],
	"vm_service_spec": {
		"content_libraries": [
			"string"
		],
		"vm_classes": [
			"string"
		]
	}
}
Parameter To

Set Instances

Feedback

Was this page helpful?