public Task <InstanceDeploymentStatus> FetchInstanceDeploymentStatus(string clusterId, string instanceId)
        {
            string path = GetInstanceDeploymentStatusPath(clusterId, instanceId);
            string data = File.ReadAllText(path);

            return(Task.FromResult(_deploymentStatusSerializer.Deserialize(data)));
        }
Beispiel #2
0
        private async Task <InstanceDeploymentStatus> FetchInstanceDeploymentStatus(CloudBlockBlob instanceBlob)
        {
            string data = await instanceBlob.DownloadTextAsync();

            return(_deploymentStatusSerializer.Deserialize(data));
        }