def as_deployment(self):
        return self._deployment_state
Return cluster state as a ``DeploymentState`` object.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/_clusterstate.py/ClusterStateService.as_deployment