Files
deb-python-pyvmomi/docs/vim/LicenseAssignmentManager.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
This external documentation for pyVmomi was generated using Googly Docs
(aka Google Standard Documentation) which renders very cleanly in
GitHub. Internal documentation for a class should be done in Sphinx
format because tools like pyCharm and Eclipse can use that documentation
as a hint for code completion.

Note: External docs as Googly Docs, internal docs as Sphinx.

Closes bug#15
2014-06-17 14:07:42 -04:00

1.7 KiB

vim.LicenseAssignmentManager

since

vSphere API 4.0

Attributes

Methods

UpdateAssignedLicense(entity, licenseKey, entityDisplayName):

Update the license associated with an entity

Privilege:

Global.Licenses

Args:
entity (str):

ID of the entity. E.g. HostSystem.

licenseKey (str):

A license.

entityDisplayName (str, optional):

Display name for the entity

Returns:
vim.LicenseManager.LicenseInfo:

Returns information about the license specified in licenseKey

Raises:

vim.fault.LicenseEntityNotFound:

vim.fault.LicenseEntityNotFound

RemoveAssignedLicense(entityId):

Remove licenses associated with an entity

Privilege:

Global.Licenses

Args:
entityId (str):

ID of the entity. E.g. HostSystem.

Returns:

None

Raises:

vim.fault.LicenseEntityNotFound:

vim.fault.LicenseEntityNotFound

QueryAssignedLicenses(entityId):

Get information about all the licenses associated with an entity

Privilege:

System.View

Args:
entityId (str, optional):

ID of the entity. E.g. HostSystem.

Returns:

vim.LicenseAssignmentManager.LicenseAssignment: