Files
deb-python-pyvmomi/docs/vim/LicenseAssignmentManager.rst
Shawn Hartsock c83651f5be pyvmomi RST docs do not properly show lists
Fixes RST documents to include list mark up when appropriate.

closes: https://github.com/vmware/pyvmomi/issues/76
2014-08-13 14:49:24 -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]: