File: LicenseAssignmentManager.rst

package info (click to toggle)
python-pyvmomi 5.5.0-2014.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,348 kB
  • ctags: 497
  • sloc: python: 6,594; makefile: 12
file content (110 lines) | stat: -rw-r--r-- 1,757 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
.. _str: https://docs.python.org/2/library/stdtypes.html

.. _vim.Task: ../vim/Task.rst

.. _vSphere API 4.0: ../vim/version.rst#vimversionversion5

.. _vim.LicenseManager.LicenseInfo: ../vim/LicenseManager/LicenseInfo.rst

.. _vim.fault.LicenseEntityNotFound: ../vim/fault/LicenseEntityNotFound.rst

.. _vim.LicenseAssignmentManager.LicenseAssignment: ../vim/LicenseAssignmentManager/LicenseAssignment.rst


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`_]: