# Managed Object - LicenseAssignmentManager(vim.LicenseAssignmentManager)

Property of
  LicenseManager
See also
  LicenseAssignmentManagerLicenseAssignment, LicenseManagerLicenseInfo
Since
  vSphere API 4.0

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
None

Methods

Methods defined in this Managed Object
QueryAssignedLicenses, RemoveAssignedLicense, UpdateAssignedLicense

# QueryAssignedLicenses(queryAssignedLicenses)

Deprecated. As of vSphere API 6.0 use cis.license.management.SystemManagementService

Get information about all the licenses associated with an entity

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the LicenseAssignmentManager used to make the method call.
entityId* | xsd:string | ID of the entity. E.g. HostSystem.

*Need not be set

Return Value

Type | Description
--- | ---
LicenseAssignmentManagerLicenseAssignment[] |

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition
<element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="QueryAssignedLicenses" type="pbm:QueryAssignedLicensesRequestType"/> <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="QueryAssignedLicensesResponse"> <complexType> <sequence> <element name="returnval" type="pbm:LicenseAssignmentManagerLicenseAssignment" maxOccurs="unbounded"/> </sequence> </complexType> </element>

# RemoveAssignedLicense(removeAssignedLicense)

Deprecated. As of vSphere API 6.0 use cis.license.management.SystemManagementService

Remove licenses associated with an entity

Required Privileges
  Global.Licenses

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the LicenseAssignmentManager used to make the method call.
entityId | xsd:string | ID of the entity. E.g. HostSystem.

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
LicenseEntityNotFound |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition
<element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="RemoveAssignedLicense" type="pbm:RemoveAssignedLicenseRequestType"/> <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="RemoveAssignedLicenseResponse"> <complexType/> </element>

# UpdateAssignedLicense(updateAssignedLicense)

Deprecated. As of vSphere API 6.0 use cis.license.management.SystemManagementService

Update the license associated with an entity

Required Privileges
  Global.Licenses

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the LicenseAssignmentManager used to make the method call.
entity | xsd:string | ID of the entity. E.g. HostSystem.
licenseKey | xsd:string | A license.
entityDisplayName* | xsd:string | Display name for the entity

*Need not be set

Return Value

Type | Description
--- | ---
LicenseManagerLicenseInfo | Returns information about the license specified in licenseKey

Faults

Type | Description
--- | ---
LicenseEntityNotFound |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition
<element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="UpdateAssignedLicense" type="pbm:UpdateAssignedLicenseRequestType"/> <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="UpdateAssignedLicenseResponse"> <complexType> <sequence> <element name="returnval" type="pbm:LicenseManagerLicenseInfo"/> </sequence> </complexType> </element>