models.host_settings_check_result module

class models.host_settings_check_result.HostSettingsCheckResult(check_type=None, result_type=None, user_message=None)[source]

Bases: object

Implementation of the ‘HostSettingsCheckResult’ model.

Specifies the result of various checks performed internally on host.

Attributes:
check_type (CheckTypeEnum): Specifies the type of the check internally

performed. Specifies the type of the host check performed internally. ‘kIsAgentPortAccessible’ indicates the check for agent port access. ‘kIsAgentRunning’ indicates the status for the Cohesity agent service. ‘kIsSQLWriterRunningCheck’ indicates the status for SQLWriter service. ‘kAreSQLInstancesRunning’ indicates the run status for for all the SQL instances in the host. ‘kCheckServiceLoginsConfig’ checks the privileges and sysadmin status of the logins used by the SQL instance services, Cohesity agent service and the SQLWriter service. ‘kCheckSQLFCIVIP’ checks whether the SQL FCI is registered with a valid VIP or FQDN.

result_type (ResultTypeEnum): Specifies the type of the result

returned after performing the internal host check. Specifies the type of the host check result performed internally. ‘kPass’ indicates that the respective check was successful. ‘kFail’ indicates that the respective check failed as some mandatory setting is not met ‘kWarning’ indicates that the respective check has warning as certain non-mandatory setting is not met.

user_message (string): Specifies a descriptive message for

failed/warning types.

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.