Get-WMNamespacePermission
Retrieves information about workload namespace access permissions.
Syntax
-Namespace
<WMNamespace[]>
[-Domain <String[]>]
[-PrincipalName <String[]>]
[-Server <VIServer[]>]
[CommonParameters]
[-Domain <String[]>]
[-PrincipalName <String[]>]
[-Server <VIServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
WMNamespace[] | named |
|
Specifies the workload namespaces whose access permissions you want to retrieve. | optional |
|
String[] | named |
|
Specifies a filter for the Domain property of the access permissions you want to retrieve. | optional |
|
String[] | named |
|
Specifies a filter for the PrincipalName property of the access permissions you want to retrieve. | optional |
|
VIServer[] | named |
|
Specifies the vCenter Server(s) on which you want to run the cmdlet. If no value is specified to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet. |
Output
VMware.VimAutomation.WorkloadManagement.Types.V1.WMNamespacePermission
Examples
Example 1
PS C:\> Get-WMNamespacePermission "Development"
Retrieves all the access control permissions for the workload namespace with name "Development".
Example 2
PS C:\> Get-WMNamespacePermission "Development" -Domain "MyCorpDomain" -PrincipalName "Alice*"
Retrieves the access control permissions for the "Development" namespace for users or groups from the domain "MyCorpDomain" whose PrincipalName starts with "Alice".
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.