Set-WMNamespacePermission
Modifies an access permission to a workload namespace.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
WMNamespacePermission[] | named |
|
Specifies the access permissions that you want to change. | required |
|
WMNamespacePermissionRole | named |
|
Specifies the new role that you want to set. |
Output
VMware.VimAutomation.WorkloadManagement.Types.V1.WMNamespacePermission
Examples
Example 1
PS C:\> Get-WMNamespacePermission * -PrincipalName Alice | Set-WMNamespacePermission -Role View
Retrieves the permissions that Alice has on all connected workload namespaces and modifies thier role to 'View'.
Related Commands
WMNamespace
This cmdlet retrieves the workload namespaces in the vCenter Server system.
This cmdlet modifies the configuration of a workload namespace.
This cmdlet deletes a workload namespace from the vCenter Server system.
This cmdlet creates a new workload namespace on the specified cluster.
WMNamespaceLimits
Retrieves information about the Kubernetes resource limits of a namespace.
Changes the Kubernetes resource limits of a namespace.
WMNamespaceNetworkSpec
Creates a specification for a namespace network. The specification is later used to create the actual namespace network.
WMNamespacePermission
Retrieves information about workload namespace access permissions.
Modifies an access permission to a workload namespace.
Removes an access permission to a workload namespace.
Grants an access permission to a workload namespace.
WMNamespaceStoragePolicy
This cmdlet retrieves the configuration of the storage claimed by a workload namespace.
This cmdlet modifies the configuration of a storage claim used by a workload namespace.
This cmdlet deletes the storage claim for a workload namespace associated with a specified storage policy.
This cmdlet creates a storage claim for a workload namespace using the specified configuration.