LicensesManager

class SoftLayer.managers.LicensesManager(client)[source]

Manages account license.

__init__(client)[source]

Methods

__init__(client)

cancel_item(key[, cancel_immediately])

Cancel a billing item immediately, deleting all its data.

create(datacenter, item_package)

Create a license

get_all_objects()

Show the all VMware licenses of an account.

get_create_options()

Returns valid options for ordering Licenses.

cancel_item(key, cancel_immediately=False)[source]

Cancel a billing item immediately, deleting all its data.

Parameters:
  • identifier (integer) – the instance ID to cancel

  • reason_cancel (string) – reason cancel

create(datacenter, item_package)[source]

Create a license

Parameters:
  • datacenter (string) – the datacenter shortname

  • item_package (string[]) – items array

get_all_objects()[source]

Show the all VMware licenses of an account.

get_create_options()[source]

Returns valid options for ordering Licenses.