apamax.eplapplications.tenant¶
CumulocityTenant¶
- class apamax.eplapplications.tenant.CumulocityTenant(url, username, password, tenantId=None)[source]¶
Bases:
objectClass to represent a Cumulocity tenant.
It is used to get a
C8yConnectionobject to perform a REST request against the tenant.- Parameters
url – The Cumulocity tenant URL.
username – The username.
password – The password.
tenantId – The optional tenant ID. If not provided, it is fetched from the Cumulocity tenant.