com.vmware.vcenter.authorization package
Submodules
com.vmware.vcenter.authorization.privilege_checks_client module
- class com.vmware.vcenter.authorization.privilege_checks_client.Latest(config)
 Bases:
vmware.vapi.bindings.stub.VapiInterfaceThe
LatestPrivilegeChecksclass provides methods for getting the latest recorded privilege check. This class was added in vSphere API 8.0.0.0.- Parameters
 config (
vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.
- get()
 Returns a marker to the last recorded privilege check. This method was added in vSphere API 8.0.0.0.
- Return type
 str- Returns
 A marker for the most recently recorded privilege check.
- Raise
 com.vmware.vapi.std.errors_client.Errorif there is a generic error.- Raise
 com.vmware.vapi.std.errors_client.Unauthenticatedif the user can not be authenticated.- Raise
 com.vmware.vapi.std.errors_client.Unauthorizedif you do not have all of the privileges described as follows:Method execution requires
Sessions.CollectPrivilegeChecks.
- class com.vmware.vcenter.authorization.privilege_checks_client.StubFactory(stub_config)
 Bases:
vmware.vapi.bindings.stub.StubFactoryBaseInitialize StubFactoryBase
- Parameters
 stub_config (
vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance