Set-WMNamespacePermission Command | Vmware PowerCLI Reference

Set-WMNamespacePermission

Modifies an access permission to a workload namespace.

Syntax

Set-WMNamespacePermission
-Permission < WMNamespacePermission[] >
[-ProgressAction < ActionPreference > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Permission WMNamespacePermission[] named
  • pipeline
Specifies the access permissions that you want to change.
required
Role WMNamespacePermissionRole named
Specifies the new role that you want to set.
optional ProgressAction ActionPreference named

Output

VMware.VimAutomation.WorkloadManagement.Types.V1.WMNamespacePermission

Examples

Example 1

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 creates a new workload namespace on the specified cluster.

This cmdlet deletes a workload namespace from the vCenter Server system.

This cmdlet modifies the configuration of a workload namespace.

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.

Grants an access permission to a workload namespace.

Removes an access permission to a workload namespace.

Modifies an access permission to a workload namespace.

WMNamespaceStoragePolicy

This cmdlet retrieves the configuration of the storage claimed by a workload namespace.

This cmdlet creates a storage claim for a workload namespace using the specified configuration.

This cmdlet deletes the storage claim for a workload namespace associated with a specified storage policy.

This cmdlet modifies the configuration of a storage claim used by a workload namespace.