/// <summary>
 /// Extra code for handling resource create/update calls.
 /// </summary>
 /// <param name="operationResult">The result of the operation.</param>
 private string GetOperationState(OperationResult operationResult)
 {
     return(operationResult.AzureAsyncOperationUri != null
         ? this.GetAzureAsyncOperationState(operationResult)
         : ProgressTracker.GetResourceState(operationResult));
 }