models.agent_deployment_status_response module

class models.agent_deployment_status_response.AgentDeploymentStatusResponse(compact_version=None, health_status=None, host_ip=None, host_os_type=None, last_upgrade_status=None, upgradability=None, upgrade_status_message=None, version=None)[source]

Bases: object

Implementation of the ‘AgentDeploymentStatusResponse’ model.

Specifies the overview of the agent deployment status.

Attributes:
compact_version (string): Specifies the compact version of Cohesity

agent. For example, 6.0.1.

health_status (HealthStatusEnum): Specifies the health status of the

Cohesity agent. Specifies the status of the agent running on a physical source. ‘kUnknown’ indicates the Agent is not known. No attempt to connect to the Agent has occurred. ‘kUnreachable’ indicates the Agent is not reachable. ‘kHealthy’ indicates the Agent is healthy. ‘kDegraded’ indicates the Agent is running but in a degraded state.

host_ip (string): Specifies the IP of the host on which the agent is

installed.

host_os_type (HostOsTypeEnum): Specifies the host type on which the

agent is installed. ‘kLinux’ indicates the Linux operating system. ‘kWindows’ indicates the Microsoft Windows operating system. ‘kAix’ indicates the IBM AIX operating system. ‘kSolaris’ indicates the Oracle Solaris operating system. ‘kSapHana’ indicates the Sap Hana database system developed by SAP SE. ‘kOther’ indicates the other types of operating system.

last_upgrade_status (LastUpgradeStatusEnum): Specifies the status of

the last upgrade attempt. Specifies the status of the upgrade of the agent on a physical server. ‘kIdle’ indicates there is no agent upgrade in progress. ‘kAccepted’ indicates the Agent upgrade is accepted. ‘kStarted’ indicates the Agent upgrade is in progress. ‘kFinished’ indicates the Agent upgrade is completed.

upgradability (UpgradabilityAgentDeploymentStatusResponseEnum):

Specfies the upgradability of the agent running on the server. Specifies the upgradability of the agent running on the physical server. ‘kUpgradable’ indicates the Agent can be upgraded to the agent software version on the cluster. ‘kCurrent’ indicates the Agent is running the latest version. ‘kUnknown’ indicates the Agent’s version is not known. ‘kNonUpgradableInvalidVersion’ indicates the Agent’s version is invalid. ‘kNonUpgradableAgentIsNewer’ indicates the Agent’s version is newer than the agent software version the cluster. ‘kNonUpgradableAgentIsOld’ indicates the Agent’s version is too old that does not support upgrades.

upgrade_status_message (string): Specifies detailed message about the

agent upgrade failure. This field is not set for successful upgrade.

version (string): Specifies the Cohesity software version of the

agent. For example: 6.0.1-release-YYYYMMDD_<hash>

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.