| |
- ai_api_client_sdk.models.enactment.Enactment(builtins.object)
-
- Deployment
class Deployment(ai_api_client_sdk.models.enactment.Enactment) |
|
Deployment(id: str, deployment_url: str, configuration_id: str, configuration_name: str, scenario_id: str, status: ai_api_client_sdk.models.status.Status, target_status: ai_api_client_sdk.models.target_status.TargetStatus, created_at: datetime.datetime, modified_at: datetime.datetime, status_message: str = None, status_details: Dict[str, Any] = None, details: Dict[str, Any] = None, submission_time: datetime.datetime = None, start_time: datetime.datetime = None, completion_time: datetime.datetime = None, last_operation: ai_api_client_sdk.models.base_models.Operation = None, latest_running_configuration_id: str = None, ttl: str = None, **kwargs)
The Deployment object defines a deployment
:param id: ID of the deployment
:type id: str
:param deployment_url: URL of the running deployment
:type deployment_url: str
:param configuration_id: ID of the configuration which configured the deployment
:type configuration_id: str
:param configuration_name: Name of the configuration which configured the deployment
:type configuration_name: str
:param scenario_id: ID of the scenario which the deployment belongs to
:type scenario_id: str
:param status: Status of the deployment
:type status: class:`ai_api_client_sdk.models.status.Status`
:param target_status: Target status of the deployment
:type target_status: class:`ai_api_client_sdk.models.target_status.TargetStatus`
:param created_at: Time when the deployment was created
:type created_at: datetime
:param modified_at: Time when the deployment was last modified
:type modified_at: datetime
:param status_message: A string, which gives information about the status of the deployment, defaults to None
:type status_message: str, optional
:param status_details: A dict, which gives detailed information about the status of the deployment, defaults to None
:type status_details: Dict[str, Any], optional
:param details: A dict, which gives information about the scaling and resources details of the deployment, defaults
to None
:type details: Dict[str, Any], optional
:param submission_time: Time when the deployment was submitted
:type submission_time: datetime, optional
:param start_time: Time when the deployment status changed to RUNNING
:type start_time: datetime, optional
:param completion_time: Time when the deployment status changed to DEAD/STOPPED
:type completion_time: datetime, optional
:param last_operation: Last operation applied to the deployment
:type last_operation: Operation, optional
:param latest_running_configuration_id: The configuration ID that was running, before a PATCH operation has modified
the configuration ID of the deployment.
:type latest_running_configuration_id: str, optional
:param ttl: Time to live for a deployment
:type ttl: str, optional
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server |
|
- Method resolution order:
- Deployment
- ai_api_client_sdk.models.enactment.Enactment
- builtins.object
Methods defined here:
- __init__(self, id: str, deployment_url: str, configuration_id: str, configuration_name: str, scenario_id: str, status: ai_api_client_sdk.models.status.Status, target_status: ai_api_client_sdk.models.target_status.TargetStatus, created_at: datetime.datetime, modified_at: datetime.datetime, status_message: str = None, status_details: Dict[str, Any] = None, details: Dict[str, Any] = None, submission_time: datetime.datetime = None, start_time: datetime.datetime = None, completion_time: datetime.datetime = None, last_operation: ai_api_client_sdk.models.base_models.Operation = None, latest_running_configuration_id: str = None, ttl: str = None, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __str__(self)
- Return str(self).
Static methods defined here:
- from_dict(deployment_dict: Dict[str, Any])
- Returns a :class:`ai_api_client_sdk.models.deployment.Deployment` object, created from the values in the dict
provided as parameter
:param deployment_dict: Dict which includes the necessary values to create the object
:type deployment_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.deployment.Deployment`
Data descriptors inherited from ai_api_client_sdk.models.enactment.Enactment:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |