models.bulk_install_app_task_info module¶
-
class
models.bulk_install_app_task_info.
BulkInstallAppTaskInfo
(job_id=None, num_machines_failed=None, num_machines_passed=None, num_machines_total=None, registering_app=None, state=None)[source]¶ Bases:
object
Implementation of the ‘BulkInstallAppTaskInfo’ model.
Parameters for a bulk install app task.
- Attributes:
job_id (string): Job id of the task. num_machines_failed (int): Number of machines on which task is
started.
- num_machines_passed (int): Number of machines on which task is
started.
num_machines_total (int): Number of machines on which task is started. registering_app (RegisteringAppEnum): Application being registered.
This param is used to indicate the app for which the job is created. ‘oracle’ indicates that the job was created for oracle app. ‘msSql’ indicates that the job was created for msSql app. ‘physical’ indicates that the job was created for physical machine.
- state (StateBulkInstallAppTaskInfoEnum): Current state of the task.
This param is used to indicate the state of the job created by the bulk install app. ‘started’ indicates that the job has been started by the user. ‘completed’ indicates that the job has completed.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.