saltext.vmware.modules.license_mgr#

saltext.vmware.modules.license_mgr.add(license_key, **kwargs)[source]#

Add a license specified by license key to a Datacenter, Cluster, ESXI Server or vCenter If no datacenter, cluster or ESXI Server is specified, it is assumed the operation is to be applied to a vCenter

license_key

License Key which specifies license to add to license manager

service_instance

Use this vCenter service connection instance instead of creating a new one [default None]

datacenter_name

Datacenter name to use for the operation [default None]

cluster_name

Name of the cluster to add license [default None]

esxi_hostname

Hostname of the ESXI Server to add license [default None]

CLI Example:

salt '*' vmware_license_mgr.add license_key=AAAAA-11111-AAAAA-11111-AAAAA datacenter_name=dc1
saltext.vmware.modules.license_mgr.list_(service_instance=None)[source]#

Returns a list of licenses for the specified Service Instance

service_instance

Use this vCenter service connection instance instead of creating a new one [default None]

salt '*' vmware_license_mgr.list
saltext.vmware.modules.license_mgr.remove(license_key, **kwargs)[source]#

Remove a license specified by license_key from a Datacenter, Cluster, ESXI Server or vCenter If no datacenter, cluster or ESXI Server is specified, it is assumed the operation is to be applied to a vCenter

license_key

License Key which specifies license to remove from the license manager

service_instance

Use this vCenter service connection instance instead of creating a new one [default None]

datacenter_name

Datacenter name to use for the operation [default None]

cluster_name

Name of the cluster to add license [default None]

esxi_hostname

Hostname of the ESXI Server to add license [default None]

CLI Example:

salt '*' vmware_license_mgr.remove license_key=AAAAA-11111-AAAAA-11111-AAAAA