public void Resume()

in arm-templates/sqlDwAutoScaler/SqlDwAutoScaler/Shared/DwManagementClient.cs [93:104]


        public void Resume()
        {
            string resumeRestEndPoint = $"{restEndPointUrl}/resume?{apiVersion}";
            HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, resumeRestEndPoint);
            request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", cloudCredentials.Token);
            HttpResponseMessage response = httpClient.SendAsync(request).Result;

            if (!response.IsSuccessStatusCode)
                throw new WebException($"Resume Database operation failed with response from server {response.StatusCode}: {response.ReasonPhrase}");

            string content = response.Content.ReadAsStringAsync().Result;
        }