Automation
- class jelastic.api.automation.Automation(session: Session, token: str, debug: bool = False, ruk: str | None = None)[source]
Bases:
ClientAbstract
>>> from jelastic import Jelastic >>> jelastic = Jelastic('https://app.xapp.cloudmydc.com', token='d6f4e314a5b5fefd164995169f28ae32d987704f') >>> jelastic.automation
Ref: https://docs.jelastic.com/api/private/#!/api/automation
- property Utils: _Utils
>>> from jelastic import Jelastic >>> jelastic = Jelastic('https://app.xapp.cloudmydc.com', token='d6f4e314a5b5fefd164995169f28ae32d987704f') >>> jelastic.automation.Utils
Ref: https://docs.jelastic.com/api/private/#!/api/automation.Utils
- class jelastic.api.automation._Utils(session: Session, token: str, debug: bool = False, ruk: str | None = None)[source]
Bases:
Automation
>>> from jelastic import Jelastic >>> jelastic = Jelastic('https://app.xapp.cloudmydc.com', token='d6f4e314a5b5fefd164995169f28ae32d987704f') >>> jelastic.automation.Utils
Ref: https://docs.jelastic.com/api/private/#!/api/automation.Utils
- ClearBillingHistory(uid: int, start_date: date, end_date: date, env_name: str | None = None, ruk: str | None = None)[source]
- ClearResourceStatistics(uid: int, start_date_from: date, start_date_to: date, ruk: str | None = None)[source]
- GenerateBillableItemStatistics(start_date: date, duration_hour: int, node_id: int, item_id: int, env_name: str | None = None, ruk: str | None = None)[source]
- GenerateStatistics(start_date: date, duration_hour: int, node_id: int, stat_json: dict, ruk: str | None = None)[source]
- SetBillingHistoryDate(uid: int, env_name: str, start_date_from: date, start_date_to: date, date_type: str, date_value: str, ruk: str | None = None)[source]