Changeset 7421 for branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Azure
- Timestamp:
- 01/27/12 14:33:29 (13 years ago)
- Location:
- branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Azure
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Azure/Constants.cs
r7402 r7421 73 73 public const string URISpecificDeploymentConfigurationFormat = "https://management.core.windows.net/{0}/services/hostedservices/{1}/deployments/{2}/?comp=config"; 74 74 public const string URIChangeDeploymentStatusFormat = "https://management.core.windows.net/{0}/services/hostedservices/{1}/deployments/{2}/?comp=status"; 75 public const string URIGetOperationStatusFormat = "https://management.core.windows.net/{0}/operations/{1}"; 75 76 76 77 #endregion -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Azure/ServiceManagementOperation.cs
r7402 r7421 232 232 } 233 233 234 public static string GetOperationStatus(string subscriptionId, string thumbprint, string requestId) { 235 string uri = string.Format(Constants.URIGetOperationStatusFormat, subscriptionId, requestId); 236 ServiceWebRequest operation = new ServiceWebRequest(thumbprint); 237 XDocument operationStatus = operation.Invoke(uri); 238 string status = operationStatus.Element(wa + "Operation").Element(wa + "Status").Value; 239 return status; 240 } 241 234 242 #endregion 235 243
Note: See TracChangeset
for help on using the changeset viewer.