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.VapiInterface

The LatestPrivilegeChecks class 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.Error if there is a generic error.

Raise

com.vmware.vapi.std.errors_client.Unauthenticated if the user can not be authenticated.

Raise

com.vmware.vapi.std.errors_client.Unauthorized if 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.StubFactoryBase

Initialize StubFactoryBase

Parameters

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance